HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual

Setting the TPDFORCE Environment Variable on Windows
To set the TPDFORCE environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 49).
2. Enter TPDFORCE in the Variable box.
3. Enter 1 in the Value box.
4. Click OK.
Stand-alone Commands
There are two ways to issue CLI commands from a shell prompt in Solaris and Linux, or from a
Windows command prompt:
CLI commands can be executed like typical UNIX and MS-DOS commands.
If the CLI commands are run as individual commands, you are prompted for your user
name and password for each command. This can be avoided by setting your system to
read your user name and password from a file. See “Setting Your Name and Password”
(page 50) for more information.
If you are running the CLI commands as individual commands, you can put each command
in a script or pipe them to other commands. You can use the shell of your choice for
scripting or initiating interactive sessions that provide history and line editing capabilities.
Enter cli at your DOS or Solaris and Linux prompt to run the cli script. Running this script
places you into an interactive Tcl shell where all CLI commands are available.
The Tcl shell connects to the system and remains connected until you exit from the shell.
While the Tcl shell is connected, you are not prompted for your user name and password
for each command you issue.
The Tcl shell provides access to the Tcl language that allows you to write Tcl procedures
or source Tcl scripts that build on top of CLI commands.
NOTE: Help is available to display information about CLI commands. If you started the CLI with
the cli command, you can obtain help by typing either help or clihelp. When you run
individual CLI commands from a system's native shell, use clihelp.
SSH
The system is provided with Secure Shell (SSH) protocol version 2 that enables great flexibility in
accessing the InForm OS CLI and provides an alternative to installing the remote CLI client. SSH
uses strong symmetric encryption to encrypt all traffic between the client and the server. SSH allows
the use of encrypted passwords, or public/private keys for authentication of the user.
SSH client applications are typically provided with the following operating systems:
AIX
HP–UX
Linux
Sun™ Solaris™
For Microsoft® Windows® users, an SSH client is available at http://www.openssh.org.
56 Running the InForm OS Command Line Interface