HP Systems Insight Manager 6.0 Command Line Interface Guide

Processing import file: RFC1155-SMI.mib
Processing import file: RFC1155-SMI.mib
Processing import file: rfc1213.mib
Processing import file: RFC-1212.mib
Processing import file: RFC-1215.mib
Processing import file: rfc1213.mib
Mib Compilation completed successfully.
See also
mxmib(1)
mxagentconfig
Configures the agent to work with a CMS.
Synopsis
mxagentconfig -a [-n hostname ]-u login [-o host|user ] [-p password ]
mxagentconfig -a [-n hostname ] [-o host|user ] [-f filespec ] -u login [-p password ]
mxagentconfig -a [-n hostname ] -u login [-o host|user ] [-s password ]
mxagentconfig -a [-n hostname ] -u login [-o host|user ]
mxagentconfig -c [-n hostname ] -u login
mxagentconfig -r [-n hostname ]
Description
The mxagentconfig command configures SSH on a managed node by copying the CMS public key to a
user's SSH key directory, and then appending that key to the authenticated keys file. The user must be a
valid SSH user on the managed node before running this command. Each run-as user must have the CMS
public key added to their authenticated keys file in order to use the Distributed Task Facility (DTF) to execute
tasks on the specified managed node (including the CMS). Tool definitions that do not specify a run-as user
will run as the calling user.
This command uses the login password of the specified user on the managed node.
NOTE: Be careful when entering passwords in the CLI. This makes them available in the command history,
the process list during execution, and the audit log if the command is executed as part of a task. Be sure to
clear your command history or use alternate methods for specifying passwords, for example, a prompt or
input file.
This command can accept multiple hostnames. The user account and password must be the same for all
hostnames entered in a single command. If the user account and password are not the same, use -f
filespec to enter the account details from a file.
Options
-a
Copy the CMS public key to a designated user on one or more nodes.
-r
Remove the managed node's host key from the known_hosts file on the CMS.
-c
Check whether a managed node is configured for CMS access.
-n hostname
Specify the hostname of a node to manage. If this option is not specified, the default is the
CMS.
mxagentconfig 15