HP Systems Insight Manager 7.2 Command Line Interface Guide

The following command pushes the SSH public key to the identified user on one or more managed
servers:
# mxagentconfig a [n host] u login [o host | user] [p password]
# mxagentconfig a [n host] u login [o host | user] [p password]
[f file.txt]
The n option identifies the systems to configure. If you do not specify the n option, the
command applies to the CMS.
The u and p options specify the account on the systems identified with the n option. If you
do not specify the p option, then the command prompts you for the password of the user
specified in the u option.
The o option enables you to choose host-based authentication, -o host, or user key-based
authentication, -o user.
If you do not specify the o option, host-based authentication is used.
To verify whether or not the hosts specified have been authenticated for CMS access by the user
specified in the u option, use the command:
# mxagentconfig c [n host] [u username]
If you do not specify the host, CMS authentication is checked. If you do not specify the user name,
the command verifies the user name for the user executing the command.
To remove authentication, use the r option:
# mxagentconfig r [n host]
This removes the host key for system host from the CMS known hosts file. If a host is not provided,
the CMS removes authentication to itself.
Managing tasks
The mxtask command enables you to create, remove, execute, list, and change ownership of HP
SIM tasks, either from the command line or through XML files. See the mxtask man page for a
description for the mxtask command, and the mxtask(4) man page for a description of the
XML syntax required to manage users.
To create a new task in HP SIM, the task must have a name, the name of a collection to use to
create the list of systems executing the selected tool, any parameters required by the tool, scheduling
information, the name of a time filter (if required, specifying timeframes for tool execution), and
the name of the owner of the task (optional).
To create a task, use the following command example:
Managing HP SIM tasks 145