diff options
author | qqo <qqo@users.noreply.github.com> | 2016-07-13 02:00:10 +0300 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-12-05 18:57:56 -0800 |
commit | d3ad14d3cebda84a37be4baf6a018f1064e3a325 (patch) | |
tree | 56cfd3f53a30349fb7d6a783892a1a4a37073050 | |
parent | a506b2b3a12ce657011cce27784b24442c56c1ca (diff) |
allow ~ expansion inside proxycommand
-rw-r--r-- | paramiko/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/config.py b/paramiko/config.py index 7374eb1a..42831fab 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -209,6 +209,7 @@ class SSHConfig (object): ], 'proxycommand': [ + ('~', homedir), ('%h', config['hostname']), ('%p', port), ('%r', remoteuser) |