HP Systems Insight Manager 7.0 Command Line Interface Guide

Managed node:
~/.ssh/.<cms_name>.dtfSshKey.pub
~/.ssh/authorized_keys2
~/.ssh/authorized_keys2.bak
Example 1
To copy the SSH-generated public key from the CMS to the node node1 with the username root
and password password, enter mxagentconfig -a -n node1 -u root -p password.
Example 2
To remove the host from the known host list but still be able to run the SSH commands for an hour
after the last SSH command was executed, enter mxagentconfig r n node name. This
command is dependent on the following settings under OptionsSecurityCredentialsTrusted
Systems.
The Central Management Server will save the SSH host key the first time an SSH
connection is made.
This option adds the unknown host to the known host list automatically the first time an SSH
connection is made.
The Central Management Server server will accept an SSH connection with any host
key, even if not in the list below.
This option always adds the unknown host to the known host list automatically when SSH
connection made.
The Central Management Server server will accept an SSH connection only if the host
key is in list below.
This option never adds the unknown host to the known host list automatically. You must add
known host explicitly using the mxagentconfig.
If you want Systems Insight Manager to not add the host key automatically, the third option must
be selected from above options. Systems Insight Manager maintains an SSH connection pool, so
that the already establish connection is valid for 1 hour. This means all SSH commands will work
for next 1 hour from the last time SSH connection used.
Example 3
The following command is used to configure the embedded remote support through the IRS server
-A [-n hostname] -u login [-p password] -M IRS -U IRS URL -V IRS Port
Example 4
The following command is used to disable the ERS configuration.
mxagentconfig -A [-n hostname] -u login [- p <password>] -M DISABLE
See also
HP-UX
mxexec(1M)
Linux
mxexec(8)
mxagentconfig 21