Problemes per connectar per SSH un servidor antic

Última modificació: juny de 2021

Si no podem connectar a servidor SSH antic per què ens diu:

"no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1..."

Haurem d'afegir com a opció que el nostre client ofereixi treballar amb algun dels algoritmes que ofereix el servidor SSH:

ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 IP_servidor_SSH

Si no volem afegir aquesta opció continuament, podem afegir al nostre fitxer .ssh/config:

KexAlgorithms +diffie-hellman-group1-sha1