Secure Shell (SSH) in HP SIM

Cygwin emulates a UNIX environment.
To locate files such as
/etc/passwd
and
/etc/group
,
and the user’s home directory (for example,
/home/<username>
), Cygwin sets up mount points.
In the registry, navigate to:
HKEY_LOCAL_MACHI
NE
\
SOFTWARE
\
Cygnus Solutions
\
Cygwin
\
mounts v2
Under this registry key the following mount points are defined:
/, /hom
e, and
/usr/bin
.
The native key under each of these is set to the corresponding Windows directory. Therefore, to
determine where
/home
ma
ps 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:
\
Documents 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 Implementations
The
passwd
file contains an entry for each user who
can
use SSH. If a user w
ho is not listed in the
password file tries to log
in through SSH,
an error message appears “
Permission denied, please try
again
” with a chance to enter the correct password.
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
the
sshuser
utility to manage the
passwd
file.
SSH and HP SIM
HP SIM acts as an SSH client, communicating with an SSH server that runs on a managed system (or
on the CMS itself). HP SIM
uses the SSH server provided with the HP
-
UX an
d Linux media.
SSH is
installed with recent versions of HP
-
UX
,
and
you
can
add it
to
earlier
versions. Various versions of
Linux include SSH
.
HP has tested HP SIM with SSH
-
2 implementations.
HP SIM uses and in
stalls OpenSSH when
OpenSSH
is installed on Windows systems. The SSH client
used by HP SIM should be compatible with other implementations of SSH or OpenSSH installed on
managed systems.
HP has t
est
ed
HP SIM with SSH
-
1.5 and 2.0 implementations. OpenSSH us
es
Cygwin, only one Cygwin service can exist
at a time on a Windows platform.
T
he version provided
with HP SIM has been modified to make it more secure than the open version.
The version of OpenSSH provided by HP SIM on Windows is not compatible with the F
-
Secure
versions.
Which HP SIM features use SSH?
HP SIM uses SSH to ru
n commands on managed systems.
These commands include the
c
ommand
-
l
ine
t
ools plus many HP
-
UX and Linux management tools.
The
Insight Control virtual machine management
plug
-
in to HP SIM
requires SSH on the virtual machine host system to deploy the
virtual machine
management agent. Y
ou can
als
o
add your own tools that use SSH.