Other HPE Product Questions
1827810 Members
2067 Online
109969 Solutions
New Discussion

Comware 7 : setup ssh Publickey authentication

 
siir-ara
New Member

Comware 7 : setup ssh Publickey authentication

I tested setting up the ssh connection with publickey authentication

I succeed in connecting to my switch, but, i always have to put my passphrase before connecting to my switch

Here are my differents steps

- creation of a new user on my switch : 

local-user myuser class manage
password hash xxx
service-type ssh
authorization-attribute user-role level-15
authorization-attribute user-role network-operator

- public-key peer myserver import sshkey id_rsa.pub

-ssh user myuser service-type stelnet authentication-type publickey assign publickey myserver

What did i miss or didn't understant ?

 

Thanks

 

1 REPLY 1
Parvez_Admin
Community Manager

Re: Comware 7 : setup ssh Publickey authentication

Hello @siir-ara 

HPE Networking forum has moved. For HPE networking and Aruba product queries, request you to visit and post your query in the Aruba Airheads Community using the link below:

https://community.arubanetworks.com/discussion

You can refer to the below link aswell for more details:

HPE Networking forum migration to Aruba Airheads c... - Hewlett Packard Enterprise Community


Thanks,
Parvez_Admin
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
CM_Cert_Logo_Color.png