From d3ad14d3cebda84a37be4baf6a018f1064e3a325 Mon Sep 17 00:00:00 2001 From: qqo Date: Wed, 13 Jul 2016 02:00:10 +0300 Subject: allow ~ expansion inside proxycommand --- paramiko/config.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3