host key
-
find and remove different ssh host keyComputer/linux 2014. 7. 8. 13:53
Once I try to connect a fresh new installed system, which has the same name or ip before through ssh, logging in to the client may fail. The reason is that the new system has the different host key. In that case, find the host key and remove them, and try to connect to it again. The new updated host key will be saved into $HOME/.ssh/known_hosts Find the Host Key as : user@host:~$ ssh-keygen -F 0..