mirror of https://github.com/docker/docker-py.git
Signed-off-by: Leo Hanisch <23164374+HaaLeo@users.noreply.github.com>
This commit is contained in:
parent
030af62dca
commit
dac038aca2
|
@ -100,6 +100,8 @@ class SSHHTTPAdapter(BaseHTTPAdapter):
|
|||
)
|
||||
if 'hostname' in host_config:
|
||||
self.ssh_params['hostname'] = host_config['hostname']
|
||||
if 'identityfile' in host_config:
|
||||
self.ssh_params['key_filename'] = host_config['identityfile']
|
||||
if base_url.port is None and 'port' in host_config:
|
||||
self.ssh_params['port'] = self.ssh_conf['port']
|
||||
if base_url.username is None and 'user' in host_config:
|
||||
|
|
Loading…
Reference in New Issue