Connect Without StrictHostKeyChecking (known_hosts) Connects to a host without validating the host key using ~/.ssh/known_hosts or adding the key to that file. ssh -o "StrictHostKeyChecking no" user@host