Server Management - Systems Insight Manager
1825789 Members
2126 Online
109687 Solutions
New Discussion

Ssh Operation failed for node:CMS. SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed

 
SOLVED
Go to solution
Steven Baillie
Trusted Contributor

Ssh Operation failed for node:CMS. SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed

I have SIM 5.0 installed and I am running Custom commands.
I am running the following batch file from SIM.

****(GETILOFW.BAT)
C:\scripts\Cpqlocfg\cpqlocfg -s %DEVICENAME% -l C:\scripts\Cpqlocfg\logs\getFW\%DEVICENAME%log.txt -f C:\scripts\Cpqlocfg\Get_FW_Version.xml
****

this runs the following XML file
****







****

this works correctly running from SIM to 65 ILO's

when I try and run the following batch file from SIM
*****(UPDATEILOFW.BAT)
C:\scripts\Cpqlocfg\cpqlocfg -s %DEVICENAME% -l C:\scripts\Cpqlocfg\logs\FW\%DEVICENAME%log.txt -f C:\scripts\Cpqlocfg\Update_Firmware.xml
*****
which runs the following xml file

****







*****
I get the following error message

Ssh Operation failed for node:CMS_servername. SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed

I am trying to run this to my 65 ilo's but it fails with the above message. It actually does update the first ILO successfully
but does not carry on and update the rest of the ilo's.


The getilofw.bat did not work until I did "mxagentconfig -a -n -u Administrator"
from README for HP Systems Insight Manager 5.0


the reason I am doing it this way is that some of the ILO's are on netware servers and I want to update them all at the same time, rather
than one way for windows and another for netware.

steven
3 REPLIES 3
Steven Baillie
Trusted Contributor

Re: Ssh Operation failed for node:CMS. SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed

How do I log a call with HP as they want a software carepak purchased before they will log a call.



steven
AFI HP-UX ADMIN
Advisor
Solution

Re: Ssh Operation failed for node:CMS. 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...
command line # or GUI ?
Steven Baillie
Trusted Contributor

Re: Ssh Operation failed for node:CMS. SSH_UNEXPECTED_TERMINATION:Unexpected termination: Socket closed

thanks

the changes solved my problem


steven