diff options
author | Red_M <pooatyou.com@gmail.com> | 2018-06-10 00:23:49 +1000 |
---|---|---|
committer | Red_M <pooatyou.com@gmail.com> | 2018-06-10 00:23:49 +1000 |
commit | 6118f8af2ed0b0b7e3baf9c813324be926241a4a (patch) | |
tree | 87d666c50d7d52bc053658f9c47c8a49319c7a97 /pexpect | |
parent | 8b51c3db77ff9f3a393327c84134129944ac0709 (diff) | |
download | pexpect-6118f8af2ed0b0b7e3baf9c813324be926241a4a.tar.gz |
Bug fix as per #498.
Diffstat (limited to 'pexpect')
-rw-r--r-- | pexpect/pxssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index ef2e911..f230e04 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -320,7 +320,7 @@ class pxssh (spawn): if ssh_config is not None: if spawn_local_ssh and not os.path.isfile(ssh_config): raise ExceptionPxssh('SSH config does not exist or is not a file.') - ssh_options = ssh_options + '-F ' + ssh_config + ssh_options = ssh_options + ' -F ' + ssh_config if port is not None: ssh_options = ssh_options + ' -p %s'%(str(port)) if ssh_key is not None: |