HP Systems Insight Manager 7.2 Command Line Interface Guide

:
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 host names. The user account and password must be the same
for all host names 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.
New options available for support of Gen8 servers, including SNMP configuration and ERS
configuration.
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.
-o host|user
Specify whether to configure the managed node with SSH host-based authentication
or user key-based authentication. If this option is not specified, the default is
host-based authentication.
-u login
Enter the user name to enable SSH execution.
-p password
Enter the password of the specified user on the managed node. If the password
contains special characters that the shell might interpret, for example, $ or &,
enclose the string in quotation marks.
-s password
Specify an encoded password used by the CMS internal tools.
-f filespec
Specify an input file. This file can contain a password or a managed node list to
configure. If the file contains a node list, the first line must be
MXAGENTCONFIG_NODELIST_FILE. Enter information for each node on a separate
line in the format nodename,username,password. The nodename is required,
but the username and password can be empty if you want to use the values entered
into the command line. For example, if you enter target1,, the command uses
the username and password specified with the -u and -p options when configuring
the node target1.
mxagentconfig 17