SSHFP record

A Secure Shell fingerprint record (abbreviated as SSHFP record) is a type of resource record in the Domain Name System (DNS) which identifies SSH keys that are associated with a host name.

Uses your system voice; voice and rate in settings.

≈ 3 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

A Secure Shell fingerprint record (abbreviated as SSHFP record) is a type of resource record in the Domain Name System (DNS) which identifies SSH keys that are associated with a host name. The acquisition of an SSHFP record needs to be secured with a mechanism such as DNSSEC for a chain of trust to be established.

Structure

edit edit source ⟨Name⟩ [⟨TTL⟩] [⟨Class⟩] SSHFP ⟨Algorithm⟩ ⟨Type⟩ ⟨Fingerprint⟩
⟨Name⟩
The name of the object to which the resource record belongs (optional)
⟨TTL⟩
Time to live (in seconds). Validity of Resource Records (optional)
⟨Class⟩
Protocol group to which the resource record belongs (optional)
⟨Algorithm⟩
Algorithm (0: reserved, 1: RSA,[1] 2: DSA,[1] 3: ECDSA,[2] 4: Ed25519,[3] 6: Ed448[4])
⟨Type⟩
Algorithm used to hash the public key (0: reserved, 1: SHA-1,[1] 2: SHA-256[2])
⟨Fingerprint⟩
Hexadecimal representation of the hash result, as text

Example

edit edit source host.example.com. SSHFP 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef123456789

In this example, the host with the domain name host.example.com uses a Ed25519 key with the SHA-256 fingerprint 123456789abcdef67890123456789abcdef67890.

This output would be produced by a ssh-keygen -r host.example.com. command on the target server by reading the existing default SSH host key (Ed25519).[5] In newer releases of the OpenSSH suite, ssh-keyscan -D $HOSTNAME[6] can be used to produce a similar result, by connecting to the host over the network.

See also

edit edit source

References

edit edit source
  1. ^ a b c Griffin, Wesley; Schlyter, Jakob (January 2006). "RFC 4255 — Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints". Retrieved 2017-12-28. Wikipedia revision 1322861137, retrieved 2026-11-20
  2. ^ a b Surý, Ondřej (April 2012). "RFC 6594 — Use of the SHA-256 Algorithm with RSA, Digital Signature Algorithm (DSA), and Elliptic Curve DSA (ECDSA) in SSHFP Resource Records". Retrieved 2017-12-28. Wikipedia revision 1322861137, retrieved 2026-11-20
  3. ^ Moonesamy, S. (March 2015). "RFC 7479 — Using Ed25519 in SSHFP Resource Records". Retrieved 2017-12-28. Wikipedia revision 1322861137, retrieved 2026-11-20
  4. ^ Harris, Ben; Velvindron, Loganaden (February 2020). "RFC 8709 — Ed25519 and Ed448 Public Key Algorithms for the Secure Shell (SSH) Protocol". Retrieved 2021-10-16. Wikipedia revision 1322861137, retrieved 2026-11-20
  5. ^ "ssh-keygen(1) - OpenBSD manual pages". man.openbsd.org. Retrieved 2025-05-30. Wikipedia revision 1322861137, retrieved 2026-11-20
  6. ^ "ssh-keyscan(1) - OpenBSD manual pages". man.openbsd.org. Retrieved 2025-05-30. Wikipedia revision 1322861137, retrieved 2026-11-20

Text derived from https://en.wikipedia.org/w/index.php?oldid=1322861137 under CC BY-SA 4.0; modifications have been made.

Words in each sectionStructureStructureStructure: 126 words126ExampleExampleExample: 89 words89See alsoSee alsoSee also: 8 words8
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001322861137 · captured 2025-11-18 · ledger · version history

Cite this page as: encyclopegia.org, “SSHFP record”, snapshot enwiki-001322861137. https://encyclopegia.org/a/sshfp-record