Server Management - Systems Insight Manager
1833757 Members
2855 Online
110063 Solutions
New Discussion

User account with OpenSSH

 

User account with OpenSSH

I went through the SSH install document for HP SIM 4.2 SP2 and have a question regarding user accounts.

Do I have to install open SSH on the CMS system and on the target system using the same user account and passwordto be able to run DTF tools from the CMS to the target systems?

Here is my observation:

Scenario 1:
SSH is installed on the CMS using USER1 local account and PSWD1. On the CMS server for all the tools uses USER1. SSH is install on the target system using USER1 and PSWD1.

Test 1:
ssh command works. mxagentconfig works. mxexec works from CMS to target system.

Scenario 2:
SSH is installed on the CMS using USER1 local account and PSWD1. On the CMS server for all the tools uses USER1. SSH is install on the target system using USER2 and PSWD2.

Test 2:
ssh command works. mxagentconfig works. mxexec fails from CMS to target system see printout below:
C:\Program Files\OpenSSH\bin>mxexec -t netstat -n appd51apc
Running tool netstat with job id 8252.
Task Name :defRunNowTaskId_1115307814643_11
Job ID :8252
Tool Name :netstat
Job State :Failed
User Name :MGTP01SIM\hpsim
Execute As User :hpsim
Start Time :Thursday, May 5, 2005 8:43:34 AM PDT
End Time :Thursday, May 5, 2005 8:43:35 AM PDT
Elapsed Time : 407 milliseconds
Node :appd51apc.wcbbc.wcbmain.com
Status :Failed
Exit Code :0
STDOUT :

EXCEPTION CLASS :
com.hp.mx.exceptions.MxFailedAuthenticationException
EXCEPTION :
Authentication failed.

C:\Program Files\OpenSSH\bin>

From my testing it appears the in tools on the CMS has to be the same as the user you install openssh on the target systems. Is that correct?