Manually enters a public host key of the specified type instead of generating the key using the ssh server host-key generate command. If you are changing the public key, you must also change the private key using the command ssh server host-key <key type> private-key [<private key>].
Syntax
ssh server host-key <key type> public-key "<public key>"
Parameters
key type
The SSHv2 key type:
rsa1—SSH-RSA1 keyrsa2—SSH-RSA2 keydsa2—SSH-DSA2 key
public key
The public key string, enclosed by double quotation marks.
Example
The following examples configures a public SSH-RSA2 key.
hostname (admin) # ssh server host-key rsa2 public-key "ssh-rsa ABCAB3Nza..."
User role
Admin
Supported appliances
This command is supported on the following appliances running the specified releases or later:
Malware Analysis: Release 7.4.0
Central Management System: Release 7.5.0
Email Security — Server: Release 7.1.0
File Protect: Release 7.5.0
Endpoint Security (HX): Release 2.5.0
Network Security: Release 7.5.0
Intelligent Virtual Execution - Server: Release 7.9.0