Merge pull request #217 from jhoekx/connection-fixes

Expand user in ssh identity file
This commit is contained in:
Michael DeHaan 2012-04-24 07:40:33 -07:00
commit 02abb5a83b

View file

@ -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())