HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSH Hangs - Errors
Operating System - HP-UX
1833852
Members
1944
Online
110063
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
03-19-2008 12:25 PM
03-19-2008 12:25 PM
I have a server running 11.23 with SSH installed (A.04.30.007 HP-UX Secure Shell). The sshd daemon is continually hanging. A restart will correct this, but then it'll hang again. This seems to be triggered by SFTP processes coming into the server. The messages I get in the syslog.log are below:
Mar 19 10:08:16 sshserver sshd[1781]: Accepted publickey for user1 from 10.20.30.40 port 4165 ssh2
Mar 19 10:08:17 sshserver sshd[1781]: subsystem request for sftp
Mar 19 10:08:17 sshserver sshd[1781]: Pam Creds are not available
Mar 19 10:08:22 sshserver sshd[1781]: Received disconnect from 10.20.30.40: 11: Internal error.
Mar 19 10:08:22 sshserver sshd[1781]: pam_setcred: error Permission denied
Mar 19 10:11:42 sshserver sshd[8947]: Accepted publickey for user2 from 10.20.30.50 port 61817 ssh2
Mar 19 10:11:43 sshserver sshd[8951]: Debug level set to ffffffff.
Mar 19 10:11:43 sshserver sshd[8951]: pam_acct_mgmt: error Permission denied
The PAM messages seem to occur normally, but I'm not sure what the 11: Internal Error or "Debug level set to ffffffff" indicates, or how an SFTP process can put SSHD in a stable state. Has anyone seen something like this?
Best Regards,
Tom
Mar 19 10:08:16 sshserver sshd[1781]: Accepted publickey for user1 from 10.20.30.40 port 4165 ssh2
Mar 19 10:08:17 sshserver sshd[1781]: subsystem request for sftp
Mar 19 10:08:17 sshserver sshd[1781]: Pam Creds are not available
Mar 19 10:08:22 sshserver sshd[1781]: Received disconnect from 10.20.30.40: 11: Internal error.
Mar 19 10:08:22 sshserver sshd[1781]: pam_setcred: error Permission denied
Mar 19 10:11:42 sshserver sshd[8947]: Accepted publickey for user2 from 10.20.30.50 port 61817 ssh2
Mar 19 10:11:43 sshserver sshd[8951]: Debug level set to ffffffff.
Mar 19 10:11:43 sshserver sshd[8951]: pam_acct_mgmt: error Permission denied
The PAM messages seem to occur normally, but I'm not sure what the 11: Internal Error or "Debug level set to ffffffff" indicates, or how an SFTP process can put SSHD in a stable state. Has anyone seen something like this?
Best Regards,
Tom
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 03:17 PM
03-19-2008 03:17 PM
Solution
a) "Debug level set to ffffff". No I haven't. But here's a link describing how to set debug log levels in HP-UX sshd.
http://docs.hp.com/en/5991-7493/ch07s05.html
b) So you are on the right track setting ssh debug to be enable. Now refer to /var/adm/messages unless you're redirecting this data into /var/adm/syslog/syslog.log. Check /etc/syslog.conf for this.
Also refer to the sshd.log file which should be under /var/adm/syslog/sshd.log.
More data for you:
http://docs.hp.com/en/5991-7493/ch07s05.html
http://docs.hp.com/en/5991-7493/ch07s05.html
b) So you are on the right track setting ssh debug to be enable. Now refer to /var/adm/messages unless you're redirecting this data into /var/adm/syslog/syslog.log. Check /etc/syslog.conf for this.
Also refer to the sshd.log file which should be under /var/adm/syslog/sshd.log.
More data for you:
http://docs.hp.com/en/5991-7493/ch07s05.html
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2008 05:22 AM
03-21-2008 05:22 AM
Re: SSH Hangs - Errors
Michael,
Thank you for the assistance with this. After placing SSHD in debug mode and doing some more research, it appears that there are SFTP jobs hitting the server that run simultaneously, rather than sequentially. I.e. someone runs this in bulk in the background. I changed MaxStartups in sshd_config from 10 to 20 and the hangs have stopped. So, that looks like the root cause. Thanks for pointing me in the right direction!
Regards,
Tom
Thank you for the assistance with this. After placing SSHD in debug mode and doing some more research, it appears that there are SFTP jobs hitting the server that run simultaneously, rather than sequentially. I.e. someone runs this in bulk in the background. I changed MaxStartups in sshd_config from 10 to 20 and the hangs have stopped. So, that looks like the root cause. Thanks for pointing me in the right direction!
Regards,
Tom
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