I have spent years trying to work out how to bypass the fingerprint check when you start an SSH session to a new host. Finally, I have found it… and it’s easy.

Why would you want to… I know the reason the ssh command does not allow you to do this is for security reasons, but if you are monitoring a host from a list, and need to keep the list dynamic you don’t want to have to keep logging in and then setting up the keys for the first time. ssh-keyscan to the rescue. (more…)