HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh stops working after changing to trusted sy...
Operating System - HP-UX
1837975
Members
3152
Online
110124
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
10-11-2004 11:59 AM
10-11-2004 11:59 AM
Hi all,
I have installed HP-UX Secure Shell A.03.81.002 on a HP-UX 11.i box. however, when I convert the system to a trusted system, ssh stops working. I haven't seen this behaviour on any other system I have converted to trusted systems. Telnet works fine, however, ssh asks for your password, then says "Connection closed by 172.xx.xx.xx" (server IP). When I untrust the system, I can login again. Interestingly, I have set up the keys so that I can ssh without a password, and this works fine again after I unconvert the system.
Does anyone know what I have done wrong here? I'm stumped.
Thanks
Andy
I have installed HP-UX Secure Shell A.03.81.002 on a HP-UX 11.i box. however, when I convert the system to a trusted system, ssh stops working. I haven't seen this behaviour on any other system I have converted to trusted systems. Telnet works fine, however, ssh asks for your password, then says "Connection closed by 172.xx.xx.xx" (server IP). When I untrust the system, I can login again. Interestingly, I have set up the keys so that I can ssh without a password, and this works fine again after I unconvert the system.
Does anyone know what I have done wrong here? I'm stumped.
Thanks
Andy
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 12:06 PM
10-11-2004 12:06 PM
Solution
Hi Andy,
Does the same version work on another HP-UX box?.
I would suggest to look at syslog.log file and see if there are any errors logged. Else, run sshd in debug mode and see if there are any clues. Start it at a different port so that you won't affect the running daemon.
#./sshd -d -p 12121
On the other server run ssh with -vvv option
$ssh -vvv
-Sri
Does the same version work on another HP-UX box?.
I would suggest to look at syslog.log file and see if there are any errors logged. Else, run sshd in debug mode and see if there are any clues. Start it at a different port so that you won't affect the running daemon.
#./sshd -d -p 12121
On the other server run ssh with -vvv option
$ssh -vvv
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 12:24 PM
10-11-2004 12:24 PM
Re: ssh stops working after changing to trusted system
Hi,
Thanks for the tips, they were helpful in resolving the problem. It was a problem with the /etc/nsswitch.conf file. It had the wrong setting for passwd. I changed it from 'compat' to 'files' and it worked fine after that.
I figured it to be nsswitch because in debug mode, it was mentioning PAM, and that made me think of nsswitch.conf.
Thanks again!
- Andy
Thanks for the tips, they were helpful in resolving the problem. It was a problem with the /etc/nsswitch.conf file. It had the wrong setting for passwd. I changed it from 'compat' to 'files' and it worked fine after that.
I figured it to be nsswitch because in debug mode, it was mentioning PAM, and that made me think of nsswitch.conf.
Thanks again!
- Andy
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP