What you gonna do…?

73

What you gonna do…?

What you gonna do if when trying to ssh to machineB you were accidentally type no to the host key ? 

Dont panic. 

Do this:

vi ~/.ssh/known_hosts

remove the faulty line
you can even remove the whole file

the known_hosts file is on the server *from* which you try to ssh 

Then try to ssh machineB again. And don’t forget to click yes šŸ˜›