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

Fedora never connects to SSH #565

Open
tas50 opened this issue Nov 3, 2021 · 4 comments
Open

Fedora never connects to SSH #565

tas50 opened this issue Nov 3, 2021 · 4 comments
Labels

Comments

@tas50
Copy link
Member

tas50 commented Nov 3, 2021

Something is wrong with the Fedora AMIs. I'm not sure if they have sshd started when they come up. They never login so this is totally broken.

@tas50 tas50 added the Bug label Nov 3, 2021
@knightorc
Copy link

knightorc commented Dec 7, 2021

@tas50 I've been playing with CentOS 9 Stream with Test Kitchen. /var/log/secure is showing

Dec  7 20:01:37 localhost sshd[14640]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

Manual ssh -i aws.key ec2-user@ip works.

Possibly related?

@knightorc
Copy link

knightorc commented Dec 7, 2021

Adding ssh-rsa to PubkeyAcceptedAlgorithms list in /etc/crypto-policies/back-ends/opensshserver.config permits kitchen create to complete and kitchen login work after an sshd restart

FYI

@b0xspread
Copy link

As of Ubuntu 22.04, ssh-rsa will also be removed form the PubkeyAcceptedAlgorithms so the driver needs to add support for ECDSA

@bdwyertech
Copy link
Contributor

Would be resolved by #583 with a blip of config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants