Secure Shell (SSH) in HP SIM

10
The setting used to manage control key checking is in the file
<HP SIM>/config/mx.properties
in Windows and
/etc/opt/mx/config/mx.properties
in Linux and HP
-
UX:
MX_SSH_ADD_UNKNOWN_HOSTS=firstuse
(o
r ‘always’ or ‘never’)
Note
: Before modifying this property, you must stop the HP SIM service.
After
you have modified the
property, restart the HP SIM service.
The list of known hosts used by HP SIM is stored in this file
<HP
SIM>/config/sshtools/known_ho
sts
in Windows and
/etc/opt/mx/config/sshtools/known_hosts
in Linux and HP
-
UX. Note that this is not the
same file used by other SSH clients, which is typically in a user directory named .ssh.
User authentication
The managed system must authenticate the
user that HP SIM has chosen to make the SSH request.
The user is specified by the tool being run:
The tool can specify an explicit account to be used for this tool through the </execute
-
as
-
user> statement in the tool. Typically, tools run as the user roo
t for UNIX systems or
Administrator for Windows systems.
If no explicit user is specified in the tool
,
then it runs as the same user name as the person
attempting to run the tool. For example, if user ‘joe’ is signed in to HP SIM and attempts to
run a t
ool, then HP SIM attempts to connect to the managed system as user ‘joe’. The
managed system must have a user with this name, and it must be correctly configured to
enable SSH access for that user.
All tools shipped with HP SIM
run as root or Administrat
or. You can add other
, such as custom tools,
which run as other users.
SSH supports three methods of user authentication: user public key, host key, and password. HP SIM
supports all these methods. In most cases
,
user public key authentication is recomme
nded,
because it
is the most secure. You can choose to use host key or password authentication, as discussed in
Configuration Opti
ons
.
The same key pair is used for both key
-
based mechanisms and is used for all users and all man
aged
systems. The private key is located in the
<HP SIM>/config/sshtools/.dtfSshKey
file in
Windows and
/etc/opt/mx/config/sshtools/.dtfSshKey
in Linux and H
P
-
UX, with the
corresponding public key available for copying to other systems at
: