Posts

Showing posts with the label rsa

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 Redhat/Rocky Linux 9: Use microdnf or dnf: dnf install crypto-policies-scripts update-crypto-policies --show update-crypto-policies --set LEGACY