Hallo,
seit paar Tagen komme ich mit ssh nicht mehr auf meine zwei Server bei all-inkl und Hetzner.
1 2 3 4 5 6 | $ ssh root@ip**** hostkeys_find_by_key_hostfile: hostkeys_foreach failed for /home/user/.ssh/known_hosts: Permission denied The authenticity of host 'ip**** (ip****)' can't be established. ED25519 key fingerprint is SHA256:2aFy**************************************. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? |
Ich erinnere, dass vor Jahren bei einer ähnlichen Sache (der selben?) ein Löschen in der known_hosts Datei geholfen hat. Den fingerprint oben finde ich in known_hosts aber nicht.
Owner und Gruppe sind eine sechsstellige id******, die ich mit $ id nicht finde. Und in /etc/passwd und /etc/group ist diese ID auch nicht vorhanden.
1 2 3 4 5 6 7 | ~/.ssh$ ls -la insgesamt 211 drwxrwxr-x 5 id**** id**** 4096 Jul 28 10:29 . drwxr-x---+ 53 user user 4096 Jul 28 10:17 .. -rw------- 1 id**** id**** 3430 Okt 11 2021 allkey.id -rw-r--r-- 1 id**** id**** 740 Okt 11 2021 allkey.id.pub usw. |
Dann habe ich die known_hosts mal umbenannt. Aber das Passwort funktioniert so oder so nicht, das hatte ich vorher schon probiert.
1 2 3 4 5 6 7 8 | $ ssh ***@***.com The authenticity of host '***.com (ip***)' can't be established. ED25519 key fingerprint is SHA256:********************************. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Failed to add the host to the list of known hosts (/home/user/.ssh/known_hosts). ssh-***@***.com.com's password: Permission denied, please try again. |
Was kann das Problem sein? Danke.
PS: config
1 2 3 | StrictHostKeyChecking no ServerAliveInterval 60 ServerAliveCountMax 8 |