Linux:AutomaticallyAcceptHostFingerprintSSH: Difference between revisions

From Nigel's Wiki
Jump to navigation Jump to search
(Created page with "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 $...")
 
No edit summary
 
Line 4: Line 4:


Add the -o StrictHostKeyChecking
Add the -o StrictHostKeyChecking
[[Category:Linux]]

Latest revision as of 22:36, 30 March 2017

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