ssh-keygen -t rsa
Copy the public key to the hostAdd public key info into authorized_keys file (On the host)
cat id_rsa.pub >> /home/[user]/.ssh/authorized_keys
Log in ssh without known-host verification
ssh user@ip -o UserKnownHostsFile=/dev/Null -o StrictHostKeyChecking=no