Comparison between HP ProVision/Comware5/Cisco switches command is used to enable and configure SSH access to the switch

92

Comparison between HP ProVision/Comware5/Cisco switches command is used to enable and configure SSH access to the switch

This article compares HP ProVision/Comware5/Cisco  switches command is used to enable and configure Secure Shell (SSH) access to the switch.

HP ProVision

ProVision(config)# crypto key generate ssh

ProVision(config)# ip ssh

Disable telnet

ProVision(config)# no telnet-server

Verification

ProVision# show ip ssh

ProVision# show crypto hostpublic-key

ProVision# show ip hostpublic-key

Comware5

[Comware5]public-key local create rsa

[Comware5]ssh server enable

[Comware5]user-interface vty 0 4
[Comware5-ui-vty0-4]authentication-mode scheme
[Comware5-ui-vty0-4]protocol inbound ssh

[Comware5]local-user sshmanager
[Comware5-luser-sshmanager] password simple password
[Comware5-luser-sshmanager] service-type ssh
[Comware5-luser-sshmanager] authorization attribute level 3

Disable telnet

[Comware5]undo telnet server enable

Verification

[Comware5]display ssh server status
[Comware5]display ssh server session

[Comware5]display public-key local rsa public

Cisco

Cisco(config)#crypto key generate

Cisco(config)#ip ssh version2

Cisco(config)#line vty 0 15
Cisco(config-line)#transport input ssh

Verification

Cisco#show ip ssh

Cisco#show crypto key mypubkey rsa

LEAVE A REPLY

Please enter your comment!
Please enter your name here