![]() | Command: sshc |
Configures SSH client settings. This commands appears only if the switch runs a secure image.
sshc authentication {dsa | password | rsa}
sshc close-session <0-8>
sshc dsa-host-key [force]
sshc dsa-key <512-1024>
sshc port <1-65535>
sshc rsa-host-key [force]
sshc rsa-key <1024-2048>
sshc upload-host-key usb [unit <1-8>] key-name <WORD> [dsa | rsa]
sshc upload-host-key address <A.B.C.D | WORD> [key-name <WORD>] [dsa | rsa]
default sshc authentication
default sshc dsa-key
default sshc dsa-keysize
default sshc port
default sshc rsa-key
default sshc rsa-keysize
no sshc authentication
no sshc dsa-host-key
no sshc rsa-host-key
None
Global Configuration
| Parameter | Description |
|---|---|
|
address <A.B.C.D | WORD> | Uploads the authentication key from a TFTP server. |
|
authentication {dsa | password | rsa} | Enables the authentication method. The default is DSA. |
|
close-session <0-8> | Closes a client session by ID. |
|
dsa | Uploads the SSH DSA authentication key. |
|
dsa-host-key [force] | Generates a new SSH DSA host key. Use the force parameter to generate the host key without a reset. |
|
dsa-key <512-1024> | Specifies the host key size. A new key is generated as the next system reboot. The default is 512. |
|
key-name <WORD> | Specifies the key filename. |
|
port <1-65535> | Specifies the port to accept new connections. The default is 22. |
|
rsa | Uploads the SSH RSA authentication key. |
|
rsa-host-key [force] | Generates a new SSH RSA host key. Use the force parameter to generate the host key without a reset. |
|
rsa-key <1024-2048> | Specifies the host key size. A new key is generated as the next system reboot. The default is 1024. |
|
unit <1-8> | Specifies a unit number in a stack. |
|
upload-host-key | Uploads the host key. |
|
usb | Uploads the authentication key to USB. |