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

21
Conclusion
HP SIM uses th
e SSH
-
2 protocol to execute tasks on managed systems. This requires an SSH server to
be running and accepting requests on each managed system on which tasks are to be executed.
Features of HP SIM that require SSH being installed and configured include cus
tom commands and
command line tools. HP SIM provides an OpenSSH package to be installed on Windows
-
based
managed systems, as well as a key management tool (mxagentconfig) for setting up a user with 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
How to change the port used by SSH
Normally, 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.
The SSH port used by HP SIM is set by changing
MX_SSH_PORT
in the
C:
\
Program
Files
\
HP
\
Systems
Insight Manager
\
config
\
mx.properties
file.
2.
For example, to change the port to
6450
, add the following line to mx.properties:
MX_SSH_PORT=6450
3.
Every SSH server on each managed system and the CMS must be configured to listen on that port
as well. Changing
the port on the SSH servers is accomplished easily by the following method.
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 entry to the one us
ed on the CMS and save the file.
Installing OpenSSH for Windows
OpenSSH is installed as a service running as an administrative user account (default is the installing
user) for Windows XP and 2003. This account must have the appropriate user rights assign
ed in the
Local Security Policy tool. OpenSSH runs as the local system account on Windows 2000 and NT4
installations.