Secure Shell (SSH) in HP SIM

32
CMS> mxagentconfig
-
a
-
n blade08
-
u administrator
Problem: “There was a pr
oblem connecting to the HP SIM server
CMS> mxagentconfig
-
c
-
n blade08
-
u administrator
There was a problem connecting to the HP SIM server. Make sure that:
2.
Your user name
was
added to HP SIM.
3.
Your user name and password, if specified, are spelled
correct
ly
.
4.
HP SIM is running.
5.
You used '
--
' for any long options and double quotes if your user name includes a
domain.
For example: <commandname>
--
user "mydomain
\
myusername"
--
pass mypassword
This
error message normally indicates that HP SIM is not running on
the CMS, or that the user running
the command is not an administrator of the CMS.
Verify that the HP SIM service is running
.
For a Windows CMS, verify that the user logged in to Windows is a member of the
Administrators group
.
Verify that the logged in u
ser is an authorized HP SIM user
.
Problem: mxagentconfig Password Authentication Failed
CMS> mxagentconfig
-
a
-
n blade08
-
u administrator
Password:
******
Failed to register as an agent to: harrison.cup.hp.com
Error: Configuration failed to complete due to
the following
exception:
Ssh Operation failed for node:harrison. password authentication
failed:FAILED
Completed with errors.
This
return is expected if the user or password supplied is not valid on the target system; user
administrator on system blad
e08 in the example above. Verify that the correct user name and
password have been supplied.
This return can also indicate that the specified user has not been added to the
passwd
file on
Windows. Verify that the specified user is listed in the
passwd
fi
le on the target system (
C:
\
Program
Files
\
OpenSSH
\
etc
\
passwd
); use
sshuser
on the managed system to add the user if
necessary.
sshuser
u administrator
f "C:
\
Program Files
\
OpenSSH
\
etc
\
passwd"
Problem: mxagentconfiug returns ‘SSH Channel Failure’
CMS> mx
agentconfig
-
a
-
n blade08
-
u mydomain
\
myuser
Password:
****
Failed to register as an agent to: harrison.cup.hp.com
Error: Configuration failed to complete due to the following exception:
Ssh Operation failed for node:harrison. SSH_CHANNEL_FAILUREnull
C
ompleted with errors.
This
return is expected if the user specified does not have sufficient privileges on the target system,
user’s group ID does not exist in the SSH group file
,
or both.
If you can log in
to the SSH server through the SSH command line
:
CMS> ssh Mydomain
\
MyUser@targethost