Skip to content

Commit

Permalink
transport: fix ProxyCommand for SSH conn (#2993)
Browse files Browse the repository at this point in the history
Signed-off-by: Guy Lichtman <glicht@users.noreply.github.com>
  • Loading branch information
glicht committed Jul 26, 2022
1 parent 56dd6de commit 4e19cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/transport/sshconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _create_paramiko_client(self, base_url):
host_config = conf.lookup(base_url.hostname)
if 'proxycommand' in host_config:
self.ssh_params["sock"] = paramiko.ProxyCommand(
self.ssh_conf['proxycommand']
host_config['proxycommand']
)
if 'hostname' in host_config:
self.ssh_params['hostname'] = host_config['hostname']
Expand Down

0 comments on commit 4e19cc4

Please sign in to comment.