Yes, it's always the same. It also gets stored in ~/.ssh/known_hosts. If the key changes (or you're on a different server) ssh will notify you of this.ecnux said:I wonder if the DSA finger is always the same.
ecnux said:I wonder if the DSA finger is always the same.
ecnux said:if ip and host name is not available or unclear. How can I recognize my server before logon?
% ssh-keygen -l -f ~/.ssh/known_hosts
anomie said:The RSA / DSA host identification keys should never change (unless you've been doing something to them manually).
phoenix said:Some examples of "doing something manually", that will change the host keys:
- switching from the base /usr/sbin/sshd to ports /usr/local/sbin/sshd
- upgrading the ports version of OpenSSH
- re-installing the ports version of OpenSSH using different OPTIONS
- upgrading the base OS, which includes an upgrade of OpenSSH
$ ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
2048 d5:1b:94:7e:c4:e4:9b:fa:45:cd:eb:62:2d:e0:9e:95 /etc/ssh/ssh_host_rsa_key.pub (RSA)
$ ssh blackhole.local
The authenticity of host 'blackhole.local (10.51.114.24)' can't be established.
RSA key fingerprint is d5:1b:94:7e:c4:e4:9b:fa:45:cd:eb:62:2d:e0:9e:95.
Are you sure you want to continue connecting (yes/no)?