Get fingerprint of ssh

  1. Get SHA256 format
~ $ ssh-keygen -lf ~/.ssh/id_rsa.pub
3072 SHA256:bFCkCwupaL8oOCpWpIkfUsRmB3cioVVNGni9mtSJ7IQ u0_a258@localhost (RSA)
  1. MD5 format (Older):
~ $ ssh-keygen -lf ~/.ssh/id_rsa.pub -E md5
3072 MD5:41:b0:dc:14:1f:9e:83:65:62:1c:9e:c0:5e:73:04:f6 u0_a258@localhost (RSA)