Secure Shell (SSH) in HP Systems Insight Manager 5.1 and 5.2
8
domain users must be a direct member of the Administrators group; membership of domain groups is
not checked.
Cygwin mounts
To find certain OpenSSH files, you must first determine where they are stored. The UNIX files of
concern are
/etc/passwd
,
/etc/group
, and
/home/<username>
. To see the complete listing
for Linux and HP
-
UX and where they are located for Windo
ws, refer to
Directory location of various
SSH files
Cygwin emulates a UNIX environment.
To locate files such as
/etc/passwd
and
/etc/group
,
and the user’s home directory (for example,
/home/<user
name>
), Cygwin sets up mount points.
In the registry, navigate to:
HKEY_LOCAL_MACHINE
\
SOFTWARE
\
Cygnus Solutions
\
Cygwin
\
mounts v2
Under this registry key the following three mount points are defined:
/, /hom
e, and
/usr/bin
.
The native key under each of th
ese is set to the corresponding Windows directory. Therefore, to
determine where
/home
maps to, look up the following and read the native key value:
HKEY_LOCAL_MACHINE
\
SOFTWARE
\
Cygnus Solutions
\
Cygwin
\
mounts v2
\
/home
This mount point defaults to C:
\
Docume
nts and Settings.
Similarly, the root directory (/) defaults to
C:
\
Program Files
\
OpenSSH
. So,
/etc/passwd
is
found in
C:
\
Program Files
\
OpenSSH
\
etc
\
passwd
and the
/usr/bin directory
defaults
to
C:
\
Program Files
\
OpenSSH
\
bin
.
Passwd and group for Windows Impl
ementations
The passwd file contains an entry for each user who is allowed to use SSH. If a user who is not listed
in the password file tries to login through SSH, the connection fails with an illegal user error.
Note:
The
passwd
file on Windows does not
actually contain any passwords but it does contain the
path of the user’s home directory.
HP SIM provides a special utility
sshuser
to manage the
passwd
file. This is described later.
SSH and HP SIM
HP SIM acts as an SSH client, communicating with an S
SH server that runs on a managed system (or
on the CMS itself). HP SIM uses the SSH server provided with the HP
-
UX and Linux media. SSH is
installed with recent versions of HP
-
UX and can be added to older versions. Various versions of Linux
include SSH w
hich is then installed automatically when the OS is installed. Testing of HP SIM has
been with SSH
-
2 implementations.
HP SIM uses and installs OpenSSH when it is installed on Windows systems. The SSH client used by
HP SIM should be compatible with other im
plementations of SSH or OpenSSH installed on managed
systems. Testing of HP SIM has been with SSH
-
1.5 and 2.0 implementations. OpenSSH uses Cygwin,
only one Cygwin service can exist at a time on a Windows platform, and the version provided with
HP SIM has
been modified to make it more secure than the open version.