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.
Option | Description | Values |
---|---|---|
-cstatus | State of SSH CLI | enabled, disabled |
-hk gen | Generate SSH server private key | |
-hk rsa | Display 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>
Give documentation feedback