This command sets and displays the SSH status of the management module.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display SSH status | Displays the SSH status of the management module.
Returned values are:
Note: For scripting purposes, the "-v1 off" state
is always displayed.
|
sshcfg |
where x is the primary management-module bay number. |
Display RSA host key information | Displays RSA host key information for the management module. | sshcfg -hk rsa |
where x is the primary management-module bay number. |
Display DSA host key information | Displays DSA host key information for the management module. | sshcfg -hk dsa |
where x is the primary management-module bay number. |
Generate host key | Generates a host key for the management module. |
sshcfg -hk gen
This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set state of CLI SSH server | Sets the state of the CLI SSH server for the management module. |
sshcfg
-cstatus
state
where state is enabled or disabled. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set state of SMASH SSH server | Sets the state of the SMASH SSH server for the management module. |
sshcfg
-sstatus
state
where state is enabled or disabled. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Example:
sshcfg
The following example shows the information that is returned from this command:
system:mm[1]> sshcfg
-v1 off
-cstatus enabled
CLI SSH port 22
-sstatus disabled
SMASH SSH port 50024
ssh-dss 2048 bit fingerprint: 27:ee:bd:a9:27:28:d8:a5:93:03:3d:8e:77:d0:38:2c
ssh-rsa 2048 bit fingerprint: 66:c9:73:4f:18:11:02:10:f3:05:6e:d7:27:05:a5:01
2 SSH public keys installed
10 locations available to store SSH public keys
system:mm[1]>