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

Add option to connect with disabled_algorithms #149

Merged
merged 11 commits into from
Feb 10, 2022
Merged

Add option to connect with disabled_algorithms #149

merged 11 commits into from
Feb 10, 2022

Conversation

RoniKish
Copy link

This add an option to use disabled_algorithms parameter on SSH connect

Starting paramiko 2.8.2 old openSSH versions dont support some algorithms, this causes the connetion to fail as mentioned in this paramiko issue: paramiko/paramiko#1961

A work around was suggested to use the disabled_algorithms parameter, and it fixes the issues.

@RoniKish
Copy link
Author

@lukas-bednar Hey, can you please review this PR and see what needs to be changed?

README.rst Outdated Show resolved Hide resolved
rrmngmnt/host.py Outdated Show resolved Hide resolved
tests/common.py Outdated Show resolved Hide resolved
rrmngmnt/executor.py Outdated Show resolved Hide resolved
rrmngmnt/host.py Outdated Show resolved Hide resolved
@RoniKish
Copy link
Author

RoniKish commented Feb 2, 2022

@lukas-bednar moved disabled_algorithms to RemoteExecutorFactoryso it will be used the same way as use_pkey.
Please advice for any more changes in this PR

@lukas-bednar
Copy link
Member

This solution looks good to me!

README.rst Outdated Show resolved Hide resolved
@lukas-bednar lukas-bednar added this to the 0.1.29 milestone Feb 10, 2022
@lukas-bednar lukas-bednar merged commit dca6c35 into rhevm-qe-automation:master Feb 10, 2022
@RoniKish RoniKish deleted the disabled_algorithms_option branch February 10, 2022 18:46
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.

None yet

3 participants