Tag Archives: ssh

view ssh RSA key fingerprint of server

Upon first ssh connection, ssh public key fingerprint is displayed. To confirm the connection is indeed with the expected server, either you already know the public key fingerprint or simply display it again to confirm it is the expected one: connect to server usually rsa public key is stored under /etc/ssh/ssh_host_rsa_key.pub to generate fingerprint, run: ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub That’s it, output of the form “xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx”. Sources http://www.linuxquestions.org/questions/linux-security-4/how-do-i-find-out-the-rsa-fingerprint-of-the-server-i-want-to-connect-to-590322/