Explains how an OpenSSH CA signs host and user certificates to establish mutual trust between a client and a Cisco IOS XR router.
OpenSSH certificate authentication is a two-way SSH trust model that
-
uses an SSH key as a CA to sign host and user certificates
-
authenticates the router to the client and the client user to the router, and
-
avoids first-connection trust establishment when both certificates chain to the trusted CA.
The certificate records the subject public key, signing CA, type, validity, key ID, and serial number. A user certificate also records principals that the router matches against the login username.
Supported key types
OpenSSH certificates support RSA, DSA, ECDSA, and Ed25519 keys. User certificates can also contain supported critical options and extensions created with ssh-keygen utility.
| Feature Name | Release Information | Feature Description |
|---|---|---|
| OpenSSH Certificate based Authentication for Router | Release 25.4.1 |
Introduced in this release on: Fixed Systems (8010 [ASIC: A100]) (select variants only*) *This feature is supported on:
|
| OpenSSH Certificate based Authentication for Router | Release 25.1.1 |
Introduced in this release on: Fixed Systems (8700 [ASIC: K100], 8010 [ASIC: A100]) (select variants only*) *This feature is supported on:
|
| OpenSSH Certificate based Authentication for Router | Release 24.4.1 |
Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100]) (select variants only*); Modular Systems (8800 [LC ASIC: P100]) (select variants only*) *This feature is supported on:
|
| OpenSSH Certificate based Authentication for Router | Release 7.5.3 |
You can now use OpenSSH certificates to authenticate to the remote routers from a client machine. This feature uses the ssh-keygen utility, a standard SSH component to generate and manage authentication keys, available in OpenSSH to create a CA (Certificate Authority) like infrastructure for logging into the router. In this feature, the certificates that are used to authenticate router and client are both signed by the same CA. This automatically establishes trust between router and client, and eliminates the need to establish trust, while using the client for remote logging to router for the first time. |