Skip to content
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

Merged
merged 1 commit into from Aug 31, 2021

Conversation

shehzaman
Copy link
Contributor

@shehzaman shehzaman commented May 26, 2021

Signed-off-by: Shehzaman

fixes #2845

@@ -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
Copy link
Contributor Author

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.

Comment on lines +218 to +219
if 'identityfile' in host_config:
self.ssh_params['key_filename'] = host_config['identityfile']
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important bits to review

@shehzaman shehzaman changed the title Put back identityfile parameter Put back identityfile parameter from .ssh/config May 26, 2021
@olingerc
Copy link

Could you please merge this PR. Thanks a lot!

Copy link
Collaborator

@ulyssessouza ulyssessouza left a 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>
@aiordache aiordache merged commit 62af2bb into docker:master Aug 31, 2021
@aiordache aiordache added this to the 5.0.1 milestone Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bring back support OpenSSH Identityfile
4 participants