I need to setup SSHFP records in the DNS for my host. I have done some searching but I haven't found any good example.
- What are SSHFP records?
- What does SSHFP records look like?
- How do I create SSHFP records?
What are SSHFP records?
SSHFP RR records are DNS records that contain fingerprints for public keys used for SSH. They're mostly used with DNSSEC enabled domains. When a SSH client connects to a server it checks the corresponding SSHFP record. If the records fingerprint matches the servers, the server is legit and it's safe to connect.
What does SSHFP records look like?
SSHFP records consist of three things:
There are three different algorithms defined in SSHFP as of 2012. Each algorithm is represented by an integer. The algorithms are:
Two fingerprint types are defined in SSHFP as of 2012. Each fingerprint type is represented by an integer. These are:
How do I generate SSHFP records?
You can use
Using ssh-keygen and CentOS 6:
I'm not sure if
A records such as mentioned...
...exist of 6 parts:
To make use of it, put
If you use Puppet,