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

Lösung:
Der Datei /etc/ssh/ssh_config müssen zwei Zeilen hinzugefügt werden:

HostKeyAlgorithms ssh-rsa
PubkeyAcceptedKeyTypes ssh-rsa

Oder die anderen Argumente aus „their offer“ hinzufügen. Z.B.:

HostKeyAlgorithms ssh-rsa,rsa-sha2-512,rsa-sha2-256
PubkeyAcceptedKeyTypes ssh-rsa,rsa-sha2-512,rsa-sha2-256

https://www.linuxquestions.org/questions/linux-security-4/no-matching-host-key-type-found-their-offer-ssh-rsa-ssh-dss-4175701155/

Comments are closed.