Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8035

Networking and servers • Re: can´t login with ssh

$
0
0
After removing the key it was the same reaction!
Hmm. The message will go away if, and only if, the offending key has been removed from the known_hosts file. Rather than going in manually, try letting ssh-key gen do it for you:

Code:

ssh-keygen -f ~/.ssh/known_hosts -R 192.168.3.10
That'll remove the keys for 192.168.3.10 from the authorized_keys file and leave a backup in ~/.ssh/known_hosts.old

Statistics: Posted by tpyo kingg — Mon Aug 18, 2025 4:28 pm



Viewing all articles
Browse latest Browse all 8035

Trending Articles