HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Shut off SSH on a Linux server RHAS 3.0
Operating System - Linux
1828226
Members
2463
Online
109975
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
04-05-2006 08:57 AM
04-05-2006 08:57 AM
In the past, whenever I used SSH to connect through another server, the server that I'm tryinh to connect to will ask for a password. Now, it just let me connect to another server without credential. I am very concern about the security of this server.
Therefore, I need to know how my remote login program SSH was modified and I can change so that it will ask for full credential like it used to be.
Sorry for this long text question.
Thanks,
J
Therefore, I need to know how my remote login program SSH was modified and I can change so that it will ask for full credential like it used to be.
Sorry for this long text question.
Thanks,
J
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 10:16 AM
04-05-2006 10:16 AM
Solution
Shalom J,
Someone, probably not you conducted a procedure to permit password free connections with ssh that involved exchanging public keys.
If you remove the file /root/.ssh/authorized_keys from the system it will stop permitting password free access.
The procedure is perfectly safe and permits people to administer multiple servers without remembering many passwords.
Prior to removing the file, I suggest you find out who did it and why. I do this to servers to permit scripts on one server to perform tasks on other servers. It permits better management and monitoring.
If you remove openssh, it will accomplish the goal of your question title but could deny you access to your server.
You may wish to read docs at http://www.openssh.org
SEP
Someone, probably not you conducted a procedure to permit password free connections with ssh that involved exchanging public keys.
If you remove the file /root/.ssh/authorized_keys from the system it will stop permitting password free access.
The procedure is perfectly safe and permits people to administer multiple servers without remembering many passwords.
Prior to removing the file, I suggest you find out who did it and why. I do this to servers to permit scripts on one server to perform tasks on other servers. It permits better management and monitoring.
If you remove openssh, it will accomplish the goal of your question title but could deny you access to your server.
You may wish to read docs at http://www.openssh.org
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 10:38 AM
04-05-2006 10:38 AM
Re: Shut off SSH on a Linux server RHAS 3.0
It's very likely that public key authentication without passphrase was configured. To enable the password prompting, remove your public key or generate one new with a passphrase.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 09:22 AM
04-06-2006 09:22 AM
Re: Shut off SSH on a Linux server RHAS 3.0
Hello,
here is step by step procedure for how to make SSH without a password. This will explan what just happened to your system
http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html
Regards,
Sung
here is step by step procedure for how to make SSH without a password. This will explan what just happened to your system
http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html
Regards,
Sung
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP