server:
ssh-keyscan -t rsa 192.168.0.1
client:
past the result in to
ssh-keyscan -t rsa 192.168.0.1
client:
past the result in to
/Users/xxx/.ssh/known_hosts
===============
if it is harmless
===============You can use the following one liner to remove that one line (line 3) from the file.
===============
if it is harmless
===============You can use the following one liner to remove that one line (line 3) from the file.
$ sed -i 3d ~/.ssh/known_hosts
沒有留言:
張貼留言