Impossibile connettersi ad un server SSH obsoleto: Difference between revisions
Jump to navigation
Jump to search
Created page with "Se si tenta di connettersi ad un server SSH obsoleto e si ottiene un errore del tipo: Unable to negotiate with 192.168.0.100 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss bisogna forzare l'uso di chiavi obsolete. Da command line, aggiungere le opzioni: -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa Se si vuole impostare per tutti i client: vi ~/.ssh/config HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa" |
(No difference)
|
Revision as of 11:16, 11 April 2024
Se si tenta di connettersi ad un server SSH obsoleto e si ottiene un errore del tipo:
Unable to negotiate with 192.168.0.100 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
bisogna forzare l'uso di chiavi obsolete.
Da command line, aggiungere le opzioni:
-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa
Se si vuole impostare per tutti i client:
vi ~/.ssh/config
HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa