Gerrit: PubkeyAcceptedAlgorithms

Michael Laß <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Message-ID <[email protected]>
Hi Jeffrey,

you're right! I figured out the necessity for HostKeyAlgorithms due to
SSH's error message but afterwards all I got was "Permission denied".
Running ssh with -vvv reveals the issue:

  send_pubkey_test: no mutual signature algorithm

Indeed I still use an RSA key. Connecting to current SSH servers works
flawlessly because SSH will use rsa-sha2-256 or rsa-sha2-512 for
authentication. However, Gerrit does not support these modes:
https://bugs.chromium.org/p/gerrit/issues/detail?id=13930

I will propose a change to
https://wiki.openafs.org/devel/GitDevelopers/ to reflect this issue.
Currently that page explicitly suggest to generate an RSA key.

Best regards,
Michael

Am Mittwoch, dem 30.03.2022 um 22:05 -0400 schrieb Jeffrey E Altman:
> On 3/30/2022 6:24 PM, Michael Laß ([email protected]) wrote:
> > for some reason I cannot push changes to Gerrit anymore and posting git
> > patches to the mailing list does not work either. I've spent too much
> > time on this already.
> 
> The problem might be that a newer version of ssh on your workstation no
> longer enables (by default) the ssh-rsa key you have registered with Gerrit.
> 
> You can try registering a ssh-ed25519 key with Gerrit or modify your
> ~/.ssh/config file to include
> 
>   Host gerrit.openafs.org
>         HostKeyAlgorithms=+ssh-rsa
>         PubkeyAcceptedAlgorithms=+ssh-rsa
> 
> Good luck.
> 
> Jeffrey Altman
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.