Skip to main content

sshcfg command

Use this command to display and configure SSH parameters.

Running the sshcfg command with no options displays all SSH parameters. The following table shows the arguments for the options.

Table 1. sshcfg command.

This following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the options.

OptionDescriptionValues
-cstatusState of SSH CLIenabled, disabled
-hk genGenerate SSH server private key 
-hk rsaDisplay server RSA public key 
Syntax:
sshcfg [<em className="ph i">options</em>]
option:
-cstatus <em className="ph i">state</em>
-hk gen
-hk rsa

Example:
system> sshcfg
-cstatus enabled
CLI SSH port 22
ssh-rsa 2048 bit fingerprint: b4:a3:5d:df:0f:87:0a:95:f4:d4:7d:c1:8c:27:51:61
1 SSH public keys installed
system>