Merge pull request #217 from jhoekx/connection-fixes

Expand user in ssh identity file
pull/219/merge
Michael DeHaan 13 years ago
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…
Cancel
Save