20.11.21, 16:13 +0100 Markus Schönhaber:
20.11.21, 15:24 +0100, Walter H. via users:
> Nov 20 15:11:33 lxfedora sshd[2584]: userauth_pubkey: key type ssh-rsa
> not in PubkeyAcceptedAlgorithms [preauth]
>
> so the question is: what is the default value of this
> 'PubkeyAcceptedAlgorithms', in order to set it to the default PLUS
> 'ssh-rsa';
I think (not tested) adding
PubkeyAcceptedAlgorithms +ssh-rsa
to sshd_config might resolve your problem.
Nevertheless you should take a look at sshd_config(5) (which, in the
explanation for "PubkeyAcceptedAlgorithms", points at
update-crypto-policies(8)).
AFAIUI the root source of the problem might be that your key uses a
SHA-signature with a SHA-1 hash. Therefore, a better solution might be
to generate a new key.
Make that "RSA-signature with a SHA-1 hash", sorry.
--
Regards
mks