Server Management - Systems Insight Manager
1830172 Members
4575 Online
109999 Solutions
New Discussion

SSH Problems when running Uptime.exe

 
EdSant
New Member

SSH Problems when running Uptime.exe

Hi,

I found an interesting article that explained how to run Uptime.exe from within HP SIM. I created a DOS batch file that simply launches the uptime.exe with the /s parameter.

Everything looks OK, however, when I launch the app, I get an error message, which reads:

Ssh Operation failed for node:node_name SSH_CHANNEL_FAILUREnull

Using the SSH in HP SIM 5.0 PDF white paper, I ran the following command:

ssh Mydomain\MyUser@targethost

Where MyDomain, MyUser and targethost were replaced w/ actual domain, user ID and server names. When prompted for the MyUser password, I entered the password that I know that works. However, I keep getting "Permission Denied" messages.

What could be wrong here?


2 REPLIES 2
fred Passeron
HPE Pro

Re: SSH Problems when running Uptime.exe

hi

I suppose that openssh has been installed , keys have been exchanged probably between the HPSIM server and the the client server. You may use the mxagentconfig -a -n node name -u user -p password to make this exchange.
You may also chech under options / security / ssh keys on the hpsim server web UI if the line is selected or not : The central management server will accept an SSH connection with any key, even if not in the list below. )

Did you create an XML file to launch the uptime.exe ? or is it a custom command ?

I attached a tdf file (uptime.xml) to launch uptime from the HPSIM web interface.
copy the xml file into the tools directory. Uptime.exe needs to be present on each server.

regards

fred

“Life is pleasant. Death is peaceful. It's the transition that's troublesome.” Isaac Asimov
fred Passeron
HPE Pro

Re: SSH Problems when running Uptime.exe

hi

I suppose that openssh has been installed , keys have been exchanged probably between the HPSIM server and the the client server. You may use the mxagentconfig -a -n node name -u user -p password to make this exchange.
You may also chech under options / security / ssh keys on the hpsim server web UI if the line is selected or not : The central management server will accept an SSH connection with any key, even if not in the list below. )

Did you create an XML file to launch the uptime.exe ? or is it a custom command ?

I attached a tdf file (uptime.xml) to launch uptime from the HPSIM web interface.
copy the xml file into the tools directory. Uptime.exe needs to be present on each server.

regards

fred

“Life is pleasant. Death is peaceful. It's the transition that's troublesome.” Isaac Asimov