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

32
net localgroup administrators MyDomain
\
MyUser /add
If the SSH command gives following error message:
setgid: Invalid argument
This is caused by the group id of the user is not in SSH server’s group f
ile. In most situations, this is
caused by domain groups not added to the group file. Log in to the target system with an account that
has domain access and run following command to add the domain groups into the SSH server’s
group file:
mkgroup
d >>
<openssh install dir>
\
etc
\
group
Problem: mxagentconfig fails to authenticate with Suse Linux Enterprise Server 9
Ssh Operation failed for node:harrison. password authentication
failed:FAILED
Completed with errors.
SuSE Linux Enterprise Server 9 ships with
SSH configured to use PAM authentication instead of
password authentication.
mxagentconfig
requires password authentication. To enable password
authentication, modify the following lines in
/etc/ssh/sshd_config
of the target system:
PasswordAuthenticatio
n yes
#UsePAM yes
Then retrieve the sshd's pid from file
/var/run/sshd.pid
and restart sshd by using following
command:
kill
-
SIGHUP <sshd'spid>
sshuser errors
Problem: no output from sshuser
Running sshuser for a domain user should return an entry that ca
n be added to the passwd file:
> sshuser
-
d mydomain
-
u myuser
mydomain
\
myuser:unused_by_nt/2000/xp:9159:513:WMI,U
-
OPENVIEW
\
wmi,S
-
1
-
5
-
21
-
27163274
-
143742939
-
1512734326
-
9159:/cygdrive/C/Documents and
Settings/hpsimssh:/bin/switch
No output is returned if you
do not have sufficient rights to access the domain, used by sshuser to
obtain the user’s SID. You should log in to the managed system as a domain account and re
-
run
sshuser.
Errors running tasks
When you have a problem executing a task, one of the foll
owing might be the cause:
The SSH server on the managed system on which you are trying the command is not available
The user running the command is not authorized to login through SSH to the managed system
The user trying to run the command does not have t
he HP SIM authorizations to run this tool on that
managed system
Follow the checklist given earlier to debug the SSH connection to the target system. Most importantly,
make sure the user trying to run the command is the correct user. Sometimes the tool is
designed to be
run by a particular user such as root or Administrator. Other tools are designed to be run by the user
who is logged into the CMS.
Problem: An MxAuthenticationException is generated when a tool is run, either
from the GUI or the command lin
e interface.