On Sun, Jul 16, 2023 at 2:29 PM Walter H. via users
<users@lists.fedoraproject.org> wrote:
>
> On 16.07.2023 15:11, francis.montag...@inria.fr wrote:
> >
> > On Sun, 16 Jul 2023 14:48:04 +0200 "Walter H. via users" wrote:
> >
> >> ssh -vvv didn't really give any useful hints; I guess the problem is NOT
> >> caused by just the key;
> > Although a ED25519 one works ?
> yes this does ...
> > You may perhaps find the reason in the journal of sshd on the Fedora VM.
>
> sshd[159804]: userauth_pubkey: signature algorithm rsa-sha2-512 not in
> PubkeyAcceptedAlgorithms [preauth]
>
> what does this mean?

The OpenSSH client tries keys in a certain order. running `ssh -vvv
<host>` will show you the order.

You can change the order with the use of IdentityFile in your SSH
config file. OpenSSH will try keys in the order specified by
IdentityFile's in the config file.

    $ cat ~/.ssh/config
    Host *.fsffrance.org fsffrance.org
        User noloader
    Host *.opencsw.org
        User jwalton
    Host *.home.pvt
        User jwalton
    Host *
        User jwalton

    IdentityFile ~/.ssh/id_ed25519
    IdentityFile ~/.ssh/id_ecdsa
    # IdentityFile ~/.ssh/id_dsa
    IdentityFile ~/.ssh/id_rsa

    Protocol 2
    PreferredAuthentications publickey,password

OpenSSH will parse and expand the tilde (~).

Jeff
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to