Display RSA fingerprint visually on Ubuntu

01 Feb 2011

Today I got reminded of a great trick to overview the RSA fingerprint when you SSH to a remote machine.
It makes it alot easier to get an overview of the fingerprint and see if somethings looks wrong/different.
Just add

VisualHostKey yes
to your ssh config file (on most linux dists it in /etc/ssh/ssh_config). The output will then like this:

The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.
RSA key fingerprint is 14:6f:09:d6:fd:26:33:f3:48:8c:05:5c:c0:6e:25:2f.
+--[ RSA 2048]----+
|                 |
|       .         |
|        + .      |
|       . =       |
|        E +      |
|       o = *     |
|        = + *    |
|       . o ==o.  |
|          o .Bo  |
+-----------------+
Are you sure you want to continue connecting (yes/no)? 
blog comments powered by Disqus