Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH configuration on HP 5900 switch Comeware 7

angelus1
Occasional Visitor

SSH configuration on HP 5900 switch Comeware 7

Hi all ,

 

I'm trying to log in my switch using SSH .i followed every step as described in the configuration guide document but in vain.Here is my configuration :

 

ssh server enable

 

public-key local create rsa name ssh_key

 

ssh user sshuser service-type stelnet authentication-type password

 

user-interface vty 0 4

 

     authentication-mode scheme

     protocol inbound ssh

 

 

Am i missing something ? thanks for your help.

 

PS: TELNET works fine.

4 REPLIES
AnuragT
Advisor

Re: SSH configuration on HP 5900 switch Comeware 7

Hello,

 

Did you generate RSA keys ? are you getting any error while logging through SSH

 

 

Thanks and regards

Anurag Thottathil

angelus1
Occasional Visitor

Re: SSH configuration on HP 5900 switch Comeware 7

Hi,

 

Yes the rsa key is generated and it's present under the  "display key-public ....... " command . No error message

 

Thanks,

SBaker
Advisor

Re: SSH configuration on HP 5900 switch Comeware 7

Try using a local user -

#
local-user admin class manage
 password simple password
 service-type ssh telnet
 authorization-attribute user-role network-admin
 

angelus1
Occasional Visitor

Re: SSH configuration on HP 5900 switch Comeware 7

i configured the local user. it seems  that the switch doesn't accept ssh connection  although it's configured. No prompt to enter the ssh user credentials.

 

Putty client returns this error message "Server unexpectedly closed network connection"