HP Systems Insight Manager User Manual

Page 345

Advertising
background image

a.

Create an OpenSSH task. See

“Installing OpenSSH”

for more information.

b.

Save the task as SSH Task.

2.

From the command line, execute the following command:

mxtask -lf "SSH Task" > ssh.xml

The ssh.xml now contains the format required to create an OpenSSH task from the command line. The
following is an example file.

<?xml version="1.0" encoding="windows-1252"?>

<task-list>

<task name="Install OpenSSH 1" type="manual"

owner="admin" state="enabled">

<toolname>Install OpenSSH</toolname>

<queryname></queryname>

<scheduleinfo />

<timefilter />

<toolparams>

<?xml version="1.0"?>

<XeObject

className="com.hp.mx.portal.taskandjob.

OpenSSHInstall.MxOpenSSHInstallCommandToolParameters"

classVersion="1.0">

<Property name="driveLetter">

<Simple>C:</Simple>

</Property>

<Property name="path">

<Simple>C:\Program Files\HP\Systems Insight Manager\

openssh\1118786323238</Simple>

</Property>

<Property name="component">

<Simple>CP005309.EXE</Simple>

</Property>

<Property name="username">

<Simple>administrator</Simple>

</Property>

<Property name="password">

<Simple></Simple>

</Property>

<Property name="domain">

<Simple></Simple>

</Property>

</XeObject>

</toolparams>

</task>

</task-list>>

Installing OpenSSH 345

Advertising