Enable SSH on HP Procurve Switches

If you would like to use applications such as putty to manage your HP Procurve switch then you must enanble the SSH protocol on the switch.Before enabling SSH we must create a crypto key, this is used when the SSH client such as putty connects to the switch. The switch uses they key pair along with a generated session key.

First we will generate the crypto keys with the command below. So make sure you are in config mode first.

TechiesSwitch# conf t

Now we are in config context enter the following

TechiesSwitch(config)# crypto key generate ssh rsa bits 1024

Now they key is generated we can enable ssh

TechiesSwitch(config)# ip ssh

Ssh is now enabled and you will be able to connect with your ssh client.

To display the crypto key on the procurve switch then enter the following.

TechiesSwitch(config)# show crypto host-public-key

Finally, to display the status of ssh enter the below.

TechiesSwitch(config)#show ip ssh

SSH on your procurve is now configured.

Tags: e series, ssh

Allen White

Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

Comments (1)

  • Avatar

    marc

    |

    Thanks Allen! This is the only place where I saw adding “rsa bits 1024” to the crypto key command and the HP software I’m using needed that!

    Reply

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...