ssh: unable to negotiate – not matching host key type found

Written by  on July 1, 2022

Unable to negotiate with port 22: no matching host key type found. Their offer: ssh-rsa

more details:
ssh -vvv root@

then fix by saying which type to use:
ssh -vvv -oHostKeyAlgorithms=+ssh-rsa root@

Else adapt the config. See


edit: since there was still a problem with deploying binaries to the target (embedded device), I’ve edited the ssh-config:

cat > ~/.ssh/config
Host 192.168.100.*
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

Enter + CTRL+C, done :