- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: SSH_UNEXPECTED_TERMINATION:Unexpected terminat...
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-01-2005 09:02 AM
11-01-2005 09:02 AM
SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
I am trying to create new command line tool (SIM 5.0) to do some tasks on managed servers. For some it works great. However, if the task takes longer than 30 seconds to complete, it fails with an ssh error:
Ssh Operation failed for node: server_name SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
Is there a timeout value somewhere for ssh that's causing this behavior?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 10:28 AM
11-02-2005 10:28 AM
Re: SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 06:57 AM
11-03-2005 06:57 AM
Re: SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
Thanks for the reply.
Yes this is an HP-UX server to HP-UX server thing. A normal ssh works just fine...no disconnect.
I also see that if the command that I use has regular output, it does not disconnect. Only if it takes more than 30 seconds to have any output. Then it drops the connection.
Any other ideas out there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 01:24 AM
11-08-2005 01:24 AM
Re: SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
I am getting the same problem and have posted it before and got no replies.
see
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=960091
good luck
let me know if you get a solution
steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 08:39 AM
11-08-2005 08:39 AM
Re: SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
It turns out a change to the sshd_config makes this error go away:
These are the settings I use but may not be right for you:
ClientAliveInterval 10
ClientAliveCountMax 3
Then restart ssh and you are good to go...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 08:40 AM
11-08-2005 08:40 AM
Re: SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
See message above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 11:08 PM
11-08-2005 11:08 PM
Re: SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed
It fixed the problem for me too.
If you post the solution in my message then I can assign you points.
thanks again
steven