From public key file
sha256 fingerprint (default)
Displays the fingerprint of id_rsa.pub with the sha256 hash algorithm.
1 |
ssh-keygen -E sha256 -lf id_rsa.pub |
md5 fingerprint
Displays the fingerprint of id_rsa.pub with the md5 hash algorithm.
1 |
ssh-keygen -E md5 -lf id_rsa.pub |
From SSH agent
sha256 fingerprint (default)
Displays the fingerprint of all known keys by SSH-Agent with the sha256 hash algorithm.
1 |
ssh-add -l -E sha256 |
md5 fingerprint
Displays the fingerprint of all known keys by SSH-Agent with the md5 hash algorithm.
1 |
ssh-add -l -E md5 |