Tuesday, September 18, 2012

SSH: Asking "Are you sure you want to continue connecting (yes/no)?" Every Time? - Ubuntu Forums

SSH: Asking "Are you sure you want to continue connecting (yes/no)?" Every Time? - Ubuntu Forums: "You can disable strict checking of host keys. With this setting, ssh will connect even if the host key is not found in the known_hosts file.

You can do it on the command line this way:
Code:
ssh -o "StrictHostKeyChecking no" XXX.XXX.XXX.XXX"