Commit 02abb5a8 by Michael DeHaan

Merge pull request #217 from jhoekx/connection-fixes

Expand user in ssh identity file
parents 46b3dc74 c2f1aefa
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment