Signed-off-by: Leo Hanisch <23164374+HaaLeo@users.noreply.github.com>
This commit is contained in:
Leo Hanisch 2020-03-20 12:40:58 +01:00
parent 030af62dca
commit dac038aca2
1 changed files with 2 additions and 0 deletions

View File

@ -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: