For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > 34 > SSH Pubkey doesn't work

SSH Pubkey doesn't work

Created by dave. Last edited by dave, 124 days ago. Viewed 201 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2021-05-26)

Problem

userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

Solution

The Fedora-preferred solution is for you to start using one of the new, fancier key types and then go around upgrading all your old SSH servers that can't deal with it because f--k the past.

Here in the real world where we are stuck with many of our mistakes from the past -- and windows -- we append ssh-rsa to the value of PubkeyAcceptedAlgorithms in /etc/crypto-policies/back-ends/opensshserver.config.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt