Skip to content

Commit

Permalink
Merge pull request #106 from nikaiw/develop
Browse files Browse the repository at this point in the history
disable use of ssh_agent
  • Loading branch information
NeffIsBack committed Nov 10, 2023
2 parents a440a83 + 8cd85de commit 426e446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/protocols/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def create_conn_obj(self):
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:
Expand Down

0 comments on commit 426e446

Please sign in to comment.