Secure Shell (SSH) in HP Systems Insight Manager 5.1 and 5.2

31
CMS> mxagentconfig
-
c
-
n blade
08
-
u administrator
There was a problem connecting to the HP SIM server. Make sure
that:
1.
Your user name has been added to HP SIM.
2.
Your user name and password, if specified, are correctly spelled.
3.
HP SIM is running.
4.
You used '
--
' for any long options and do
uble 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 administ
rator 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 user is an authorized HP SIM user
Problem: mxagentconfig Password A
uthentication 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:harriso
n. 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 blade08 in the example above. Verify that the correct user name and
pa
ssword 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 file on the target system (
C:
\
Program
Files
\
OpenSSH
\
etc
\
passwd
); us
e
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> mxagentconfig
-
a
-
n blade08
-
u mydomain
\
myuser
Password:
****
Faile
d 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
Completed with errors.
This
return is expected if the user specif
ied 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 into the SSH server through the SSH command line:
CMS> ssh Mydomain
\
MyUser@targethost
Mydomain
\
MyUser@targethost’
s Password:****
because you do not have sufficient privileges. Be sure that the specified user is a direct member of the
Administrators group on the target system and remember that membership of a domain group is not
sufficient for OpenSSH. This can be ach
ieved by running following command on the target system: