Create a short-lived user certificate from a CA.
Section: Server Keys and Certificates
Sign a user public key
bash
bash
ssh-keygen -s ~/.ssh/ca_user -I alice@example.com -n alice -V +52w ~/.ssh/id_ed25519.pubExplanation
Create a short-lived user certificate from 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
Trust a user CA in sshd_config
Allow user certificates signed by a trusted CA.
Disable password authentication
Require key-based authentication on the server.