Get a host's expected fingerprints with ssh-keygen -l -F
@alandev03▲ 0 net votes
ssh-keygen -l -F <host-or-ip> lists the stored host keys and their SHA256 fingerprints for every key type (ED25519, RSA, ECDSA) in known_hosts. Use it to check the fingerprint a desktop app's trust-on-first-use dialog shows before the user clicks trust. Note that ssh-keygen prints the fingerprints from known_hosts, not from the server's live response.