- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Disable SSH password authentication?
Operating System - Linux
1752865
Members
4216
Online
108791
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-02-2010 11:56 AM
тАО07-02-2010 11:56 AM
Disable SSH password authentication?
I have successfully configured SSH public key authentication on my iLO subsystem, and I would now like to disable SSH password authentication (so that public key authentication is the only acceptable authentication method). I've been unable to find instructions to do this anywhere in the documentation / online searches / forums.
Is this possible? Thanks in advance!
I am running iLO firmware version 1.82
Is this possible? Thanks in advance!
I am running iLO firmware version 1.82
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2010 12:02 PM
тАО07-02-2010 12:02 PM
Re: Disable SSH password authentication?
Fred,
Once you have the public key then follow the instructions:
cat id_rsa.pub >> authorized_keys
# chmod 600 authorized_keys
Then copy the authorized_keys of one node to another to the authorized_keys file and test the ssh to each other as the user you are working on and it should work without prompting for the password.
Hope this helps!
Once you have the public key then follow the instructions:
cat id_rsa.pub >> authorized_keys
# chmod 600 authorized_keys
Then copy the authorized_keys of one node to another to the authorized_keys file and test the ssh to each other as the user you are working on and it should work without prompting for the password.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2010 12:12 PM
тАО07-02-2010 12:12 PM
Re: Disable SSH password authentication?
Thank you for your response, Pratibha; however, I do not think it is what I am looking for.
I want to make it impossible for anyone to use password authentication.
For example, in an OpenSSH configuration file (on my Linux boxes) there is a setting called "PasswordAuthentication" , which I set to "no". I haven't seen any similar setting for iLO's SSH daemon.
I do see that you've provided UNIX commands, seemingly to be run in iLO SSH? Is there any way to escape from the iLO CLI and use real UNIX commands? This way I could edit the configuration file of the SSH daemon directly...
I want to make it impossible for anyone to use password authentication.
For example, in an OpenSSH configuration file (on my Linux boxes) there is a setting called "PasswordAuthentication" , which I set to "no". I haven't seen any similar setting for iLO's SSH daemon.
I do see that you've provided UNIX commands, seemingly to be run in iLO SSH? Is there any way to escape from the iLO CLI and use real UNIX commands? This way I could edit the configuration file of the SSH daemon directly...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2010 03:00 AM
тАО07-03-2010 03:00 AM
Re: Disable SSH password authentication?
As far as I know, there is no way to disable SSH password authentication in iLO.
However, you could achieve much the same effect by setting the iLO account password to a very long and complex string, and then forgetting it (i.e. intentionally "losing" the password, after making sure it's as hard to guess as possible).
MK
However, you could achieve much the same effect by setting the iLO account password to a very long and complex string, and then forgetting it (i.e. intentionally "losing" the password, after making sure it's as hard to guess as possible).
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP