- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh authentication failing in trusted mode
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
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-27-2008 01:10 PM
тАО02-27-2008 01:10 PM
ssh authentication failing in trusted mode
I am trying to use putty to access a server that is in trusted mode via ssh. As soon as I enter my password it blows up with "server unexpectedly closed network connection."
I have run debug mode, and it appears the authentication is succeeding. This worked fine before trusted mode. Also, it works when I use public key authentication. Any ideas?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 04:18 PM
тАО02-27-2008 04:18 PM
Re: ssh authentication failing in trusted mode
sshd public key authentication works the same trusted and untrusted, I've used it both ways.
Ideas:
1) Standard, permissions and ownership on the home and .ssh directory. Compare it to a working system.
2) Converting to trusted mode expired the user id
3) Bug in sshd. go to http://software.hp.com and get the latest version.
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
тАО02-27-2008 05:59 PM
тАО02-27-2008 05:59 PM
Re: ssh authentication failing in trusted mode
#ssh -vvv root@desthostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 06:00 AM
тАО02-28-2008 06:00 AM
Re: ssh authentication failing in trusted mode
The permissions look good, and I created a new user to rule out the expiration theory. I also loaded the new version of ssh. Still no luck. Thanks for the ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 06:11 AM
тАО02-28-2008 06:11 AM
Re: ssh authentication failing in trusted mode
I am attaching the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 06:09 PM
тАО02-28-2008 06:09 PM
Re: ssh authentication failing in trusted mode
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t3 r-1 i0/0 o0/0 fd 5/6 cfd -1)
debug3: channel 0: close_fds r 5 w 6 e 7 c -1
Connection to dns3 closed by remote host.
Connection to dns3 closed.
after the authentication , is it complaining about the already open connection?(not sure)
which is the new ssh version you tried?is it HP-UX 11.00?are you using differnet ssh version at the source and the target?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2008 01:06 AM
тАО03-02-2008 01:06 AM
Re: ssh authentication failing in trusted mode
Can you check if you can login via telnet.
If it works via telnet, check your sshd_config file (Pam Auhtentication) or if you're using the latest sshd software.
Also check if the account is locked:
- /tcb/files/auth/d/
- /usr/lbin/getprpw -m lockout $USER
unlock a user:
/usr/lbin/modprpw -v $USER
/usr/lbin/modprpw -l -k $USER
/usr/lbin/modprpw -v $USER
GoodLuck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 02:04 PM
тАО03-03-2008 02:04 PM
Re: ssh authentication failing in trusted mode
I don't know if it is complaining about the open connection or not, but I wouldn't think so.
I am using secure shell version 4.70.009, on HP-UX 11.11. I am using ssh2 protocol on source and target.
According to the getprpw command the account is not locked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 05:00 AM
тАО03-04-2008 05:00 AM
Re: ssh authentication failing in trusted mode
while version 04.30.014 for 11.00