Paramiko default look_for_keys=False
To avoid problems with local key files, changing the Paramiko default value to look_for_keys=False Change-Id: Iae96855be070d5b24303367ec0f9c9257ae78de1
This commit is contained in:
@@ -86,7 +86,7 @@ class SSHConnection:
|
|||||||
get_logger().log_error(f"Exception: {exception}")
|
get_logger().log_error(f"Exception: {exception}")
|
||||||
raise BaseException("Failed to connect to Jump-Host")
|
raise BaseException("Failed to connect to Jump-Host")
|
||||||
|
|
||||||
def connect(self, allow_agent=True, look_for_keys=True) -> bool:
|
def connect(self, allow_agent=True, look_for_keys=False) -> bool:
|
||||||
"""
|
"""
|
||||||
Creates a connection
|
Creates a connection
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user