OpenWRT SSH beheben: Unable to negotiate with ... no matching host key type found. Their offer: ssh-rsa

English Deutsch

Problem:

Bei Verwendung eines modernen Linux-Clients zur SSH-Verbindung mit einem OpenWRT-Gerät wird eine Fehlermeldung wie die folgende angezeigt:

ssh_no_matching_host_key.txt
Unable to negotiate with 192.168.1.1 port 22: no matching host key type found. Their offer: ssh-rsa

Lösung

Sie können SSH explizit anweisen, ssh-rsa zuzulassen, indem Sie -oHostKeyAlgorithms=+ssh-rsa verwenden, zum Beispiel:

ssh_allow_ssh_rsa.sh
ssh -oHostKeyAlgorithms=+ssh-rsa [email protected]

Mit diesem Befehl sollten Sie sich mit Ihrem OpenWRT-Gerät verbinden können.


Check out similar posts by category: Networking, OpenWRT