- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- ssh key authentication
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2021 12:01 AM
тАО02-16-2021 12:01 AM
Hello everyone,
I would like to know how to enable key authentication and password authentication for the same user on Switch 5500-48G-4SF.
I have already set:
ssh user "user_name" service-type all authentication-type any assign publickey "name_of_key" work-directory flash:/S
At this moment I can log in with key and password but the priority level are different for the same user.
key authentication:
"xyz"?
User view commands:
cfd Connectivity fault detection (IEEE 802.1ag)
cluster Run cluster command
display Display current system information
ping Ping function
quit Exit from current command view
ssh2 Establish a secure shell client connection
super Set the current user priority level
telnet Establish one TELNET connection
tracert Trace route function
"xyz"super
Error: Password is not set.
When I login with the same user and password, the authentification is already max.
Did someone have the same problem and have a solution?
Thank you very much!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2021 04:02 AM - edited тАО02-25-2021 04:02 AM
тАО02-25-2021 04:02 AM - edited тАО02-25-2021 04:02 AM
Re: ssh key authentication
All SSH users that connect with the RSA authentication on the VTY interfaces will inherit the privilege level configured under the VTY interface, despite the level configured in the AAA view .
The privilege level configured under VTY by default is 0.
The solution is to configure the user privilege level under the VTY interfaces.
syntax:
user-interface vty "0" "4"
user privilege level "3"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2021 04:08 PM
тАО03-03-2021 04:08 PM
SolutionHello,
Are you still facing issue?
You are correct it works fine if set the authentication mode and default user role in the config
Thanks!