I get the following output if I run the following command:
-bash-3.2$ ssh -o "StrictHostKeyChecking no" 192.168.1.77
Warning: Permanently added '192.168.1.77' (RSA) to the list of known hosts.
Last login: Fri Jul 4 10:49:11 2014 from chlorine.example.com
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
-bash-3.2$
I would like to run this command, without 192.168.1.77 being added to the list of known hosts, but still permitting a successful login.
Is there an SSH option that allows this? I have gone through the man page for ssh_config and I've tried all the likely options such as setting "CheckHostIP no" with no success.
Both the local and remote systems are running Solaris 10.
If necessary, I could back up my $HOME/.ssh/known_hosts file prior to making a connection, and restore it after making the connection, but if there is an SSH option that allows me to avoid doing this, then I would prefer to use that.