ssh discovery.

By Hal Canary, 2003-10-15 23:41:36 (link)
#computers-code

The biggest problem with ssh is the vulnerability to a man-in-the-middle attack. This is why you should always check your host-key's fingerprint when logging on for the first time from a new box. To aquire these keys, do this:

for x in /etc/ssh/*pub; do
   ssh-keygen -lf $x;
done

(back)