Linux:AutomaticallyAcceptHostFingerprintSSH

From Nigel's Wiki
Jump to navigation Jump to search

Sometimes you want to log into a lot of hosts for the first time using a script but don't want to sit and accept all the host fingerprints.

 ssh -oStrictHostKeyChecking=no $h uptime

Add the -o StrictHostKeyChecking