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

connection failing when connecting to newer ssh server #397

Open
jrishel opened this issue Aug 23, 2024 Discussed in #396 · 0 comments
Open

connection failing when connecting to newer ssh server #397

jrishel opened this issue Aug 23, 2024 Discussed in #396 · 0 comments

Comments

@jrishel
Copy link

jrishel commented Aug 23, 2024

Discussed in #396

Originally posted by jrishel August 23, 2024
I'm using ParallelSSH on a RHEL7 host (python 3.6, sourcing ParallelSSH 2.12.0 from pypi. It works connecting to my RHEL7 and RHEL8 hosts, but on RHEL9, the connection fails. at the OS level, I can use SSH keys to connect without issue. the error the RHEL9 ssh server indicates is:
sshd[986124]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

Is there a way to tell pssh.clients to start using newer algo keys? I'd rather update that than go to my RHEL9 hosts and tell them to start accepting legacy algo keys? I did test that setting RHEL9 to legacy crypto policy lets the SSHClient connect, but that's not ideal.

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

No branches or pull requests

1 participant