Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
1064086
1064086
In this example, a Universal Command command file named cmdfile.txt contains the following data:

Panel
-userid T02JAH1 -pwd thames

Command File Options

Anchor
1133906
1133906
The command file options used in this example are:

...

:

...

Option

...

...

Description

...

...

...

...

User ID or account with which to execute the remote command.

...

...

...

...

...

Password associated with -userid.


Note
titleNote

If you are creating an encrypted file for use with the Universal Controller CLI (Command Line Interface), you must use the CLI command line switches to specify the user ID and password:


Encryption Command

The following command encrypts the command file using AES encryption with an encryption key MYKEY123.

Panel
uencrypt -key MYKEY123 -aes yes <cmdfile.txt> encfile.txt


Note
titleNote

The name of the file containing the text to be encrypted (in this case, cmdfile.txt} must be enclosed in less than (<) and greater then (>) characters.

The resulting encrypted command file, in this case, is encfile.txt.

...

Anchor
1133906
1133906
The command line options used in this example are:

...

:

...

...

Option

...

stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 324pt;

...

Description

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

...

...

...

Encryption key used by the encryption algorithm.

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

...

...

...

Specification for whether or not AES encryption is used.

Contents of Encrypted File

Anchor
1064100
1064100
The following figure illustrates the contents of encfile.txt.

Panel
# Universal Encrypt
#   Date . . . . . : Thu Nov  3 07:29:03 2011
#   User . . . . . : T02JAH1
#   Host . . . . . : hosta.acme.com
#   Program  . . . : uencrypt 3.2.0 Level 5 Release Build 130
#   Encryption . . : AES 256-bit

1F7DAF62583C813EA874CA168FF626C348F7BF171477D380D9A2FFFED33C539B71B4206EA502
1FD92CDFDD931C3B88B9CD711A4693EFE6B49FAE9431E9C946F7F35C9B4C31335BFB3F97F068
6EFF37068245A6B58CBFE2ADE32997A132C4114AC52CD615B2E7E8672ED0BF9867CA13B1

Anchor
1064106
1064106
This encrypted command file now can be used by any Universal Agent command, on any operating system, by specifying the encryption key MYKEY123.

...