As far as I know the default ssh option StrictHostKeyChecking
is set to ask
so the first ssh connection seems like:
$ ssh host.example.com
The authenticity of host 'host.example.com (1.2.3.4)' can't be established.
RSA key fingerprint is 52:9b:0a:f1:e4:51:1b:96:8c:b7:96:7c:d3:d2:7d:9f.
Are you sure you want to continue connecting (yes/no)?
- I'd like to automatically add host key for the first time assuming the possible security issue.
- I'd like the host key to be used by any local user automatically
(e.g. without any extra
ssh
command-line options).