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

De www.yakakliker.org
Révision datée du 24 avril 2025 à 15:48 par Administrateur (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Message d'erreur

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

Solution

Dans le dossier ~/.ssh/

Créer un fichier config

Renseigner le host comme ceci :

Host 192.168.0.88
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
Host vlin000rec
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa


compteur web gratuit sans pub