Skip to content

Commit

Permalink
added allow_agent=False to further prevent BiBiGrid from looking for …
Browse files Browse the repository at this point in the history
…keys
  • Loading branch information
XaverStiensmeier committed Sep 16, 2024
1 parent efe6658 commit e30748e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibigrid/core/utility/handler/ssh_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def is_active(client, paramiko_key, ssh_data, log):
log.info(f"Attempt {attempts}/{ssh_data['timeout']}. Connecting to {ssh_data['floating_ip']}")
client.connect(hostname=ssh_data['gateway'].get("ip") or ssh_data['floating_ip'],
username=ssh_data['username'], pkey=paramiko_key, timeout=7,
auth_timeout=ssh_data['timeout'], port=port, look_for_keys=False)
auth_timeout=ssh_data['timeout'], port=port, look_for_keys=False, allow_agent=False)
establishing_connection = False
log.info(f"Successfully connected to {ssh_data['floating_ip']}.")
except paramiko.ssh_exception.NoValidConnectionsError as exc:
Expand Down

0 comments on commit e30748e

Please sign in to comment.