Configuring ssh and scp features (cli example) – HP 445946-001 User Manual

Page 31

Advertising
background image

Accessing the switch

31

The switch implementation of SSH is based on version 1.5 and version 2.0, and supports SSH clients from

version 1.0 through version 2.0. Client software can use SSH version 1 or version 2. The following SSH

clients are supported:

SSH 3.0.1 for Linux (freeware)

SecureCRT® 4.1.8 (VanDyke Technologies, Inc.)

OpenSSH_3.9 for Linux (FC 3)

FedoraCore 3 for SCP commands

PuTTY Release 0.58 (Simon Tatham) for Windows

Configuring SSH and SCP features (CLI example)

Before you can use SSH commands, use the following commands to turn on SSH and SCP.

Enabling or disabling SSH

To enable the SSH feature, connect to the switch CLI and enter the following commands:

>> # /cfg/sys/sshd/on (Turn SSH on)

Current status: OFF

New status: ON

SSHD# apply (Apply the changes to start generating

RSA host and server keys)

RSA host key generation starts

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

RSA host key generation completes (lasts 212549 ms)

RSA host key is being saved to Flash ROM, please don’t reboot the box
immediately.

RSA server key generation starts

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

RSA server key generation completes (lasts 75503 ms)

RSA server key is being saved to Flash ROM, please don’t reboot the box
immediately.

-------------------------------------------------------------------------
Apply complete; don’t forget to “save” updated configuration.

Enabling or disabling SCP apply and save

Enter the following commands from the switch CLI to enable the SCP

putcfg_apply

and

putcfg_apply_save

commands:

>> # /cfg/sys/sshd/ena (Enable SCP apply and save)

>> # /cfg/sys/sshd/dis (Disable SCP apply and save)

SSHD# apply (Apply the changes)

Advertising