- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- How to access enable level on a Procurve switch wi...
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
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-2017 05:03 PM
тАО02-16-2017 05:03 PM
How to access enable level on a Procurve switch without hardcoding a password?
We have a large number of ProCurve 2920 switches, and would like to automate backing up their config files to a TFTP or SFTP server. The switches are set up for ssh-only access, no telnet.
I first thought I could use PuTTY, psftp, and the Pageant ssh key management program to do this, but I have run into a problem: Manager (enable) level on these switches cannot be accessed using a public key. We really don't want to have to configure RADIUS just for these switches, and I recoil at the idea of hard-coding a cleartext password into a script.
Does anyone have an alternative? We are a Windows shop, so RANCID is not really an option.
K-12 IT support staffer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2017 08:08 AM
тАО02-17-2017 08:08 AM
Re: How to access enable level on a Procurve switch without hardcoding a password?
Hi,
You try the below command and let me know if it helps.
HPE(config)#aaa authentication login privilege-mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2017 04:18 PM
тАО02-20-2017 04:18 PM
Re: How to access enable level on a Procurve switch without hardcoding a password?
Windows now gives you a free Radius server, so it's actually quite easy to setup, and definitely makes your security look a lot more professional.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2017 07:11 PM
тАО02-23-2017 07:11 PM
Re: How to access enable level on a Procurve switch without hardcoding a password?
You should be able to authenticate via public key. I assume you've copied the key to the switch? You'll also need to configure SSH for public key auth:
(config)# aaa authentication ssh enable public-key none
(config)# aaa authentication ssh login public-key none
The switch log should also tell you how the session was authenticated:
I 02/23/17 14:30:09 03344 ssh: User mpatmon : SSH session established with
public-key authentication