In an ssh client (Ubuntu 14.04), with

ssh-keygen -F <host>

some informations about <host> are printed, with the ECDSA key (in base64 format).

Is it possible to see its fingerprint in its original form, like when connecting to that ssh server for the first time? If yes, how?

  • 1
    You've got it backwards: the (SSH) fingerprint is the hash of the publickey in wire format, what is stored in known_hosts and displayed by ssh-keygen -F is base64 of the actual (unhashed) publickey – dave_thompson_085 Sep 20 '16 at 11:12
  • @dave_thompson_085 oh, I didn't get it. Thank you! – BowPark Sep 20 '16 at 11:18
  • @dave_thompson_085 I edited the question. – BowPark Sep 20 '16 at 11:33

ssh-keygen -l -F <host>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.