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

15
For Windows only, the passwd file located in the
\
OpenSSH
\
etc
directory. This file
specifies which users are permitted to access to the system through SSH, along with their
home directory.
Each user configured for user public key authentication will ha
ve the user’s public key in the
authorized_keys2
file. This file is in the .ssh directory of the user’s home directory, as
specified in the passwd file. Note that on Windows, HP SIM often uses the directory
hpsimssh instead of the real home directory for
a user; see the command ‘sshuser’ below for
details.
If host
-
based authentication is used, the name of the CMS system must be in the shosts.equiv
file and the public key of the CMS in the
ssh_known_hosts
file. These files are in the SSH
server configur
ation directory.
In addition, the following files are used on the CMS when making SSH requests:
The CMS private key
.dtfSshKey
and the corresponding public key
.dtfSshKey.pub
.
These are generated when HP SIM is installed and are used to authenticate use
rs or the CMS
itself.
known_hosts
contains the public keys from managed systems running SSH. This file might
be automatically populated by HP SIM.
Directory location of various SSH files
File type
HP
-
UX
Linux
Windows
OpenSSH install
/etc/opt/ssh/
/
etc/ssh/
C:
\
Program Files
\
OpenSSH
\
OpenSSH keys
ssh_host_dsa_key
/etc/opt/ssh/
/etc/ssh/
C:
\
Program Files
\
OpenSSH
\
etc
OpenSSH
configuration
sshd_config
/etc/opt/ssh/
/etc/ssh/
C:
\
Program Files
\
OpenSSH
\
etc
passwd and
group files
/etc/
/etc/
C:
\
Program F
iles
\
OpenSSH
\
etc
(uses SID for Windows user; specifies home
directory)
Public key
authentication
authorized_keys2
$HOME/<usr>/.ssh
$HOME/<usr>/.ssh
C:
\
Documents and
Settings
\
<usr>
\
.ssh or
C:
\
Documents and
Settings
\
hpsimssh
\
.ssh
Host authentication
ssh_k
nown_hosts
and shosts.equiv
/etc/opt/ssh/
/etc/ssh/
C:
\
Program Files
\
OpenSSH
\
etc
CMS client ssh keys
.dtfSshKey and
.dtfSshKey.pub
/etc/opt/mx/config
/sshtools/
(hidden files)
etc/opt/mx/config/ssht
ools/
(hidden files)
C:
\
Program Files
\
HP
\
Systems
Insigh
t Manager
\
config
\
sshtools
\
known_hosts ( for
HP Systems Insight
Manager)
/etc/opt/mx/config
/ sshtools/
/etc/opt/mx/config/ssh
tools/
C:
\
Program Files
\
HP
\
Systems
Insight Manager
\
config
\
sshtools
\
Known_hosts
The list of known host keys can be found in t
he file
known_hosts
. It contains the public host keys of
the SSH servers that are trusted by the SSH client and HP SIM. Note that, by default, HP SIM does
not require host keys to match the entries in the known_hosts file.