OpenSSH Server Admin Cheat Sheet/Trust a host CA in known_hosts

Trust host certificates signed by a CA.

Section: Server Keys and Certificates

Trust a host CA in known_hosts

text
text
@cert-authority *.example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI...
Explanation

Trust host certificates signed by a CA.

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 Server Keys and Certificates
Generate a user CA key
Create a key pair for signing user certificates.
OpenIn sheetbashsame section
Sign a user public key
Create a short-lived user certificate from a CA.
OpenIn sheetbashsame section
Trust a user CA in sshd_config
Allow user certificates signed by a trusted CA.
OpenIn sheetsshdconfigsame section
Generate a host Ed25519 key
Create an Ed25519 host key for sshd.
OpenIn sheetbashsame section
Test sshd configuration
Validate sshd_config syntax before restart.
OpenIn sheetbash1 tag match
Disable password authentication
Require key-based authentication on the server.
OpenIn sheetsshdconfig1 tag match