Create a host certificate from a host CA key.
Section: Authorized Keys and Host Keys
Sign a host key with a CA
bash
bash
ssh-keygen -s ~/.ssh/ca_host -I host-web01 -h -n web01.example.com /etc/ssh/ssh_host_ed25519_key.pubExplanation
Create a host certificate from a host CA key.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Authorized Keys and Host Keys
Install your public key on a server
Append your public key to a remote account's authorized_keys.
Add a host key to known_hosts
Append a scanned host key to your known_hosts file.