- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh as root - requires no password despite my best...
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
Forums
Discussions
Discussions
Discussions
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
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
11-28-2005 11:00 PM
11-28-2005 11:00 PM
ssh as root - requires no password despite my best efforts!
I've come across a strange situation this morning. I'm running ssh root@servername and it logs me straight in! I can do this from any user account. I've checked the usual, rhostsauthentication, .ssh/authorized_keys etc and can't find anything. Comparing the results of ssh -vvv to this and another machine I've found the following: where a normal login returns this line: "1274: debug1: got SSH2_MSG_SERVICE_ACCEPT
1274: debug1: authentications that can continue: publickey,password"
I get this on the problem machine!:
"1198: debug1: got SSH2_MSG_SERVICE_ACCEPT
1198: debug1: ssh-userauth2 successful: method none"??
Grateful for any ideas...
Thanks,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 11:25 PM
11-28-2005 11:25 PM
Re: ssh as root - requires no password despite my best efforts!
Check if this thread is good to solve your issue:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=620367
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 11:30 PM
11-28-2005 11:30 PM
Re: ssh as root - requires no password despite my best efforts!
Directory permissions commonly causes this issue.
I'm wondering what guide you used for setup.
http://www.hpuxconsulting.com/5004.ppt
It's power point, I recommend downloading and then opening it.
SEP
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
11-29-2005 12:27 AM
11-29-2005 12:27 AM
Re: ssh as root - requires no password despite my best efforts!
Have you compared the sshd_config between the working and non-working boxes?
If the sshd_config is identical, I'm not sure where else to look yet. Maybe the pam config between the nodes.
It might help if you could post the versions of ssh (client/server) and full output from ssh -vvv
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 12:38 AM
11-29-2005 12:38 AM
Re: ssh as root - requires no password despite my best efforts!
And you get in as root with no password?
Are you sure that the root account *has* a password on that server?
It seems that the sshd server is set to accept an authentication method called "none". Did you check your /opt/ssh/etc/sshd_config file (if you are using HP's pre-packaged OpenSSH)? How about PAM configuration in /etc/pam.conf?
Which version of SSH are you using? Is this a locally-compiled version, which might have some debugging options active?
There is a possibility that your server has been cracked and the sshd has been replaced with a backdoored or otherwise tampered version.
SEP, did you really read the question? The problem is getting root access *way too easily*.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 12:57 AM
11-29-2005 12:57 AM
Re: ssh as root - requires no password despite my best efforts!
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 01:10 AM
11-29-2005 01:10 AM
Re: ssh as root - requires no password despite my best efforts!
is it a trusted system?
Does pwck (authck -p or pwck -s if trusted) find any errors?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 01:27 AM
11-29-2005 01:27 AM
Re: ssh as root - requires no password despite my best efforts!
Thanks again!