disable use of ssh_agent in paramiko, first fix for #105
parent
e07b3e45ba
commit
8cd85def45
|
@ -65,7 +65,7 @@ class ssh(connection):
|
|||
self.conn = paramiko.SSHClient()
|
||||
self.conn.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
try:
|
||||
self.conn.connect(self.host, port=self.port, timeout=self.args.ssh_timeout, look_for_keys=False)
|
||||
self.conn.connect(self.host, port=self.port, timeout=self.args.ssh_timeout, look_for_keys=False, allow_agent=False)
|
||||
except AuthenticationException:
|
||||
return True
|
||||
except SSHException:
|
||||
|
|
Loading…
Reference in New Issue