Configuring a PuTTY session for the CLI
You must configure a PuTTY session using the Secure Shell (SSH) password. If you require command line access without entering a password, use the SSH key pair that you created for the command-line interface (CLI).
About this task
Attention: Do not run scripts that create child processes that run in the
background and call system commands. This can cause the system to lose access to data and
cause data to be lost.
Complete the following steps to configure a PuTTY session for the CLI:
Procedure
- Select . The PuTTY Configuration window opens.
- Click Session in the Category navigation tree. The Basic options for your PuTTY session are displayed.
- Click SSH as the Protocol option.
- Click Only on clean exit as the Close window on exit option. This ensures that connection errors are displayed.
- Click in the Category navigation tree. The options controlling SSH connections are displayed.
- Click 2 as the Preferred SSH protocol version.
- Click in the Category navigation tree. The Options controller SSH authentication are displayed.
- Click Browse or type the fully qualified file name and location of the SSH client and password. If no password is used, the private key in the Private key file for authentication field.
- Click in the Category navigation tree.
- Type the user name that you want to use on the system in the Auto-login username field.
- Click Session in the Category navigation tree. The Basic options for your PuTTY session are displayed.
- In the Host Name (or IP Address) field, type the name or Internet Protocol (IP) address of one of the system IP addresses or host names.
-
Type
22
26 in the Port field. The system uses the standard SSH port. -
Type the name that you want to use to associate with this session in the
Saved Sessions field. For example, you can name the session
System 1
. - Click Save.
Results
Note: If you
configured more than one IP address for the system, repeat the previous steps to create
another saved session for the second IP address. This can then be used if the first IP
address is unavailable.