
Flexible, secure SSH with DNSSEC
1/13/2016
This post introduces a novel method for managing SSH public keys by storing them in DNS TXT records and retrieving them using OpenSSH's AuthorizedKeysCommand feature, validated by DNSSEC. It details the requirements for OpenSSH version, DNSSEC setup, key length limitations, and the creation of a shell script to parse DNS query results. The post also outlines the necessary server-side configuration for `sshd_config` and the creation of a dedicated user for executing the key retrieval script, effectively turning Cloudflare's DNS infrastructure into a PKI for SSH.