HP 3PAR StoreServ 7200 2-node HP 3PAR Command Line Interface Administrator& - Page 52
Stand-alone Commands, SSH, Benefits of Using SSH
View all HP 3PAR StoreServ 7200 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 52 highlights
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 46) 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 for initiating interactive sessions that provide history and line editing capabilities. • Enter cli at the DOS or Solaris or Linux prompt to run the cli program. Running this progrm 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. For details about HP 3PAR CLI commands, see also the HP 3PAR Command Line Interface Reference. SSH The system is provided with Secure Shell (SSH) protocol version 2 that enables great flexibility in accessing the HP 3PAR CLI and provides an alternative to installing the remote CLI client. SSH uses public-private key encryption algorithms to encrypt all traffic between the client and server, including passwords. SSH client applications are typically provided with the following operating systems: • AIX • HP-UX • Linux • Oracle® Solaris™ For Microsoft® Windows® users, an SSH client is available at http://www.openssh.org. Benefits of Using SSH SSH provides the following benefits: • No HP 3PAR CLI installation. CLI clients are not required to access and use the CLI (assuming SSH client is installed). • No version matching. The HP 3PAR CLI and HP 3PAR OS versions do not need to match because the CLI does not need to be installed remotely. • Strong encryption. All information exchanged between client machines and systems are encrypted. 52 Running the HP 3PAR Command Line Interface