New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put back identityfile parameter from .ssh/config #2846
Put back identityfile parameter from .ssh/config #2846
Conversation
@@ -205,17 +205,18 @@ def _create_paramiko_client(self, base_url): | |||
with open(ssh_config_file) as f: | |||
conf.parse(f) | |||
host_config = conf.lookup(base_url.hostname) | |||
self.ssh_conf = host_config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this variable, it was contributing nothing to the code.
if 'identityfile' in host_config: | ||
self.ssh_params['key_filename'] = host_config['identityfile'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important bits to review
Could you please merge this PR. Thanks a lot! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Shehzaman <shehzi.1@gmail.com>
11544b4
to
8da03e0
Compare
Signed-off-by: Shehzaman
fixes #2845