Home > Uncategorized > [Errore ssh] SSH no matching host key type found. Their offer: ssh-rsa,ssh-dss

[Errore ssh] SSH no matching host key type found. Their offer: ssh-rsa,ssh-dss

November 13th, 2023 Leave a comment Go to comments

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

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.