Wednesday, July 3, 2013

Remove offending RSA key in ~/.ssh/known_hosts file with one line command


When you ssh to a server where the host key (RSA) has changed then you will get an error message as shown in the image:













The error in the above example :

Offending RSA key in /home/username/.ssh/known_hosts:8



Looking in to the error message, we can find the offending RSA key and its position in the known_hosts file. In the above example image the offending key is at  line 8. (

Baca Juga

Remove offending RSA key in ~/.ssh/known_hosts file with one line command
4/ 5
Oleh
Tampilkan Komentar
Sembunyikan