Sunday, October 1, 2023

SSH key fingerprints

How to turn a SHA256 key fingerprint into MD5:


ssh-keygen -l -E md5 -f <(ssh-keyscan -t ssh-ed25519 your_host_name) | awk '{print $2}' | cut -d":" -f 2-