host-key-alg
This command specifies the host key algorithms that the server supports.
Syntax
host-key-alg algorithm
Parameters
- algorithm
- Specifies the SSH host key algorithms to support. The following table lists the supported
algorithms.
Table 1. Supported SSH host key algorithms Algorithm Values to enter ssh-ed25519SSH-ED25519ecdsa-sha2-nistp256ECDSA-SHA2-NISTP256ecdsa-sha2-nistp384ECDSA-SHA2-NISTP384ecdsa-sha2-nistp521ECDSA-SHA2-NISTP521rsa-sha2-512RSA-SHA2-512rsa-sha2-256RSA-SHA2-256
Guidelines
The host-key-alg command specifies the host key algorithms that the server supports. Host key algorithms are the algorithms to sign and verify the authenticity of an SSH server's host key. An empty list indicates that the server supports all algorithms. By default, the SSH server profile supports all algorithms.