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

slex fails after FCOS Upgrade #35

Open
brose0 opened this issue Feb 22, 2021 · 1 comment
Open

slex fails after FCOS Upgrade #35

brose0 opened this issue Feb 22, 2021 · 1 comment

Comments

@brose0
Copy link

brose0 commented Feb 22, 2021

We recently updated our Fedora CoreOS to 33.20210117.3.2. I notice during the upgrade my slex commands fail on the new version. I'm connecting from a Centos7 server.

  • slex --host <my host> -u <my user> hostname fails with the following:
    <my host>:22: ERROR none of the provided authentication methods can establish SSH session successfully

  • Slex returns the hostname on the previous version of FCOS. I've tried FQDN, short name and IP address for the host.

  • SSH commands work fine as well (e.g. ssh <my user>@<my host> hostname)

@brose0
Copy link
Author

brose0 commented Feb 23, 2021

Looks like ssh-rsa was removed from PubkeyAcceptedKeyTypes.

https://docs.fedoraproject.org/en-US/fedora-coreos/faq/#_why_does_ssh_stop_working_after_upgrading_to_fedora_33

This isn't an issue with updated ssh clients so I'm assuming slex has ssh baked in. I haven't tested but it looks like a workaround is to update your ssh key to something other than RSA. There are other workarounds in that article. If slex was updated to use a more current ssh client that should work too (assuming that I'm right about it being baked into slex).

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