mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
ssh: fix: do not attempt to check mode of keyfile if it has not been specified.
This commit is contained in:
parent
48748797b7
commit
26dfe97ffd
@ -120,7 +120,7 @@ class SshShell(object):
|
||||
self.host = host
|
||||
self.username = username
|
||||
self.password = password
|
||||
self.keyfile = check_keyfile(keyfile)
|
||||
self.keyfile = check_keyfile(keyfile) if keyfile else keyfile
|
||||
self.port = port
|
||||
timeout = self.timeout if timeout is None else timeout
|
||||
self.conn = ssh_get_shell(host, username, password, self.keyfile, port, timeout, telnet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user