On Friday, September 11, 2020 4:29:20 PM WEST Ben Cotton wrote:

> Could it be this:

> https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2

>

> Try running this and see if it fixes the issue:

> sudo update-crypto-policies --set LEGACY

>

> If it does, the problem could be that your key is too short. You can

> check that with:

> ssh-keygen -lf ~/.ssh/id_fedora_rsa

>

> The first field should be at least 2048.


$ ssh-keygen -lf ~/.ssh/id_fedora_rsa

4096 SHA256:...


The strange thing, at least to me was that it works for me when working with fedora packages, although I had in my ssh configuration the following snippet:


Host *fedorahosted.org *fedorapeople.org pkgs.fedoraproject.org

    User jamatos

    ProxyCommand none

    ForwardAgent no

    ForwardX11 no

    Port 22

    KeepAlive yes

    HashKnownHosts no

    GSSAPIAuthentication no

    VerifyHostKeyDNS yes

    IdentityFile ~/.ssh/id_fedora_rsa


As far as I can see this should be unrelated but I honestly do not know.


As I said in the other message of this thread ([Solved]) adding the following line to ~/.ssh/config:


PubkeyAcceptedKeyTypes +rsa-sha2-256,rsa-sha2-512


solved the issue.

--

José Abílio