Command: sshc

Home | Command modes | Alphabetical listing

sshc

Configures SSH client settings. This commands appears only if the switch runs a secure image.

Syntax

Default

None

Command mode

Global Configuration

Command parameters

ParameterDescription

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.