Take the 2-minute tour ×  I get the following prompt everytime I
try to connect a server using SSH. I type "yes", but is there a
way to aovid this?  The authenticity of host '111.222.333.444
(111.222.333.444)' can't be established. RSA key fingerprint is
f3:cf:58:ae:71:0b:c8:04:6f:34:a3:b2:e4:1e:0c:8b. share|improve
this question /dev/null exists for those who think they are
immune to man in the middle attacks :) –  Tim Post Mar 29 '10 at
10:08 usefull with scripts targeting dyndns domains –  Mathieu
Oct 14 '12 at 19:34 add comment  migrated from stackoverflow.com
Mar 29 '10 at 12:38  This question came from our site for
professional and enthusiast programmers.  4 Answers  up vote 45
down vote accepted  Use the -o option,  ssh -o
"StrictHostKeyChecking no" user@host share|improve this answer
You may want to use an alternate identity file with the flag
'-i' –  MUY Belgium Apr 22 '13 at 10:08 add comment  You should
only get this the first time you connect to a new host. After
you respond yes the host gets stor