Merge pull request #217 from jhoekx/connection-fixes
Expand user in ssh identity filepull/4420/head
commit
02abb5a83b
|
@ -99,7 +99,7 @@ class ParamikoConnection(object):
|
|||
if 'user' in credentials:
|
||||
user = credentials['user']
|
||||
if 'identityfile' in credentials:
|
||||
keypair = credentials['identityfile']
|
||||
keypair = os.path.expanduser(credentials['identityfile'])
|
||||
|
||||
ssh = paramiko.SSHClient()
|
||||
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
|
|
Loading…
Reference in New Issue