summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpmbuild-remote.py')
-rwxr-xr-xrpmbuild-remote.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index 04c355e..65b8913 100755
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -147,6 +147,7 @@ def get_rpmbuild_results(session, dest, sout, serr):
def execute_jobs(opts, system, jobs):
session = paramiko.SSHClient()
+ session.get_host_keys().load(os.path.expanduser('~/.ssh/known_hosts'))
LOG.info("Connecting to %(user)s@%(host)s:%(port)d" % system)
session.connect(system['host'], port=system['port'],
username=system['user'], key_filename=system['ssh_key'])