-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Need to add disabled algorithms support to Netmiko #2632
Comments
- ssh.connect(ip, username=username, pkey=ssh_key, timeout=3)
+ ssh.connect(ip, username=username, pkey=ssh_key, timeout=3, disabled_algorithms=dict(pubkeys=['rsa-sha2-256', 'rsa-sha2-512'])) |
User ran into this where username/password auth would work, but key-auth would fail:
Downgrading to Paramiko 2.8.1 fixed the issue. |
Proposal here: #2646 We need this feature for another reason (bad performance of some key-exchange algorithms), but it would likely also solve this problem. |
Fixed. Thanks @jonglezb . |
Documenting for people that find this thread:
Add that argument to ConnectHandler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See:
paramiko/paramiko#1961
The text was updated successfully, but these errors were encountered: