Secure Shell (SSH) in HP SIM

22
Note:
Sometimes a domain policy can prevent HP SIM from adding these rights to
the installing user. HP SIM must be installed by a user who has these
rights.
Installation Diagnostic File for SSH
When installation issues for the SSH portio
n of the HP SIM installation occur, the first location you
should look in is the
initconfig.log
file. This file is located
C:
\
Program Files
\
HP
\
Systems
Insight Manager
\
logs
and might provide clues.
Coexistence problems with other Cygwin installations
Multi
ple Cygwin
-
based programs can be installed but only one version of Cygwin is used. During the
HP SIM installation, the OpenSSH installer checks in the registry for an existing Cygwin
.
I
f
an existing
Cygwin is
found
,
the installation fails.
There are certa
in registry settings that must exist for Cygwin to function, namely the mount points
previously defined. The OpenSSH installer checks for the Cygwin registry keys
.
I
f
registry keys
exist
,
OpenSSH does not install
. The installation also fails if the full Cy
gwin distribution or any other
software that uses Cygwin is installed. For example, Python distribution in WinCVS uses Cygwin. This
installation fails because
multiple Cygwin installations
cannot
coexist.
There are other products in the market that use Cyg
win, and
the HP SIM
OpenSSH distribution is not
compatible with them. This includes other freely available OpenSSH distributions. If you are already
using another version of OpenSSH and do not want to install the HP SIM version, you can do so.
However
, rem
ember
that the HP SIM version is the only version that restricts access to the Cygwin
data structures.
If you are having trouble getting the HP SIM OpenSSH package to install, search your system for the
Cygwin registry keys, as well as the
cygwin1.dll
file
. The location of the file might give you some
idea of what software is installed that is conflicting with the OpenSSH installation.
Home Directory
When troubleshooting user authentication,
verify
the capitalization of the home directory, which is
stored i
n the
passwd
file. OpenSSH is case
-
sensitive in this regard, so /home/HPsimUser is not the
same as /home/hpsimuser.
Verify
that the capitalization in the password file is the same as the
directory to which it refers and that the directory is indeed the cor
rect directory for that user.
The following is a sample
passwd
file
entry. The second
-
to
-
last field specifies the home directory,
where home is the
Documents and Settings
directory:
Note:
In the interface, t
his
appears
on a single line with no new lines.
Administrator:unused_by_nt/2000/xp:500:513:U
-
PCDLONG2
\
Administrator,S
-
1
-
5
-
21
-
3769691966
-
4004114397
-
3833753107
-
500:/home/Administrator:/bin/switch
Documents and Settings directory on Windows installations
When
you create
a user account on a Windows system
, the home directory for the account is not
created until the user logs in
to the system for the first time. If this directory is also used for SSH
access
,
the lack of the account name under
C:
\
Documents and Settings
can cause problems.
The
sshuser
utilit
y supplied with HP SIM works around this problem by specifying a common
directory for all SSH users. This directory,
hpsimssh
, is created by HP SIM in the
Documents and