Secure Shell (SSH) in HP SIM

managed systems, as well as a key management tool (
mxagentconfig
) for setting up a user wit
h
the public key of the DTF.
The information contained here gives you an idea of
remote task execution in HP SIM
and gives you
an idea of where to start troubleshooting when there is a problem.
Common questions and tasks
Changing
the port used by SSH
Norm
ally, SSH servers listen on TCP port 22. If, for some reason, this must be changed, the SSH port
that HP SIM uses is configurable.
To configure the port that the SSH client for the CMS uses to initiate SSH sessions:
1.
In the
C:
\
Program Files
\
HP
\
Systems Insi
ght Manager
\
config
\
mx.properties
file, set t
he SSH port used by HP SIM by changing
MX_SSH_PORT
in the.
For example, to change the port to
6450
, add the following line to
mx.properties
:
MX_SSH_PORT=6450
2.
Configure e
very SSH server on each managed system an
d the CMS to listen on that port as well.
a.
Go to the managed system.
b.
Open the
C:
\
Program Files
\
OpenSSH
\
etc
directory.
c.
Edit the file
sshd_config
using Notepad or similar editor.
d.
Change the port number e
ntry to the one used on the CMS.
e.
S
ave the file.
Ins
talling OpenSSH for Windows
OpenSSH is installed as a service running as an administrative user account (default is the installing
user) for Windows XP
Windows
Server
2003, Windows Vista
,
and Windows 2008
. This account
must have the appropriate user rights
assigned in the Local Security Policy tool. OpenSSH runs as the
local system account on Windows 2000 and NT4 installations.
The following rights are automatically added during OpenSSH installation:
Log on as a service
Create a token object
Replace a proc
ess level token