[Errore ssh] SSH no matching host key type found. Their offer: ssh-rsa,ssh-dss
Per risolvere il messaggio di errore
Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
che riceviamo quando proviamo dal nostro terminale linux a connetterci in ssh verso un server o altro client
si può procedere in due modi:
Aggiungere sulla cli la voce -oHostKeyAlgorithms=+ssh-dss
ssh -oHostKeyAlgorithms=+ssh-dss netman01.private.cineca.it
Oppure dare i seguenti comandi:
touch .ssh/config
insert to .ssh/config:
HostKeyAlgorithms ssh-rsa
PubkeyAcceptedKeyTypes ssh-rsa
Recent Comments