Can not ssh using rsa keys

This happen when using newer distro like Fedora 33+ , default accepted cryptography changed

 

To workaround edit /etc/ssh/ssh_config.d/90-myconf.conf

PubkeyAcceptedKeyTypes +ssh-rsa

HostKeyAlgorithms +ssh-rsa,ssh-dss

KexAlgorithms +diffie-hellman-group1-sha1

 

Ref:  

https://confluence.atlassian.com/bitbucketserverkb/ssh-rsa-key-rejected-with-message-no-mutual-signature-algorithm-1026057701.html


UPDATES:
 

Fedora 36:
Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss


Comments

Popular posts from this blog

Ports to allow for whatsapp call

Manually clean up zimbra zmcat/zmcpustat exploit

Keychron K2 in Linux