SSH Ignore (un)known host keys

Sometimes, you wish that SSH would just connect without asking questions. For instance if you are on a trusted net where you do not need to worry about man-in-the-middle attacks. You can realise that wish with the following settings. Onetime setting as commandline argument: $ ssh -o UserKnownHostsFile=/dev/null  -o StrictHostKeyChecking=no user@ Warning: Permanently added ‘’ …

SSH Ignore (un)known host keys Read More »