Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Accessing a storage system using a Telnet session

Requirements for using a Telnet session  Top

The following requirements must be met before you can connect to a storage system using a Telnet session.

Number of active Telnet sessions allowed  Top

Only one Telnet session can be active at a time. You can, however, open a console session at the same time a Telnet session is open. For more information, see Sharing the console session.

Using a Telnet session  Top

To access a storage system from a client through a Telnet session, complete the following steps.

Step

Action

1

Open a Telnet session on a client.

2

Connect to the storage system using its name.

3

If the storage system displays the login prompt, do one of the following:

  • To access the storage system with the system account, enter the following account name:
    root
    
  • To access the storage system with an alternative administrative user account, enter the following:
    username
    

    username is the administrative user account.

Result

The storage system responds with the password prompt.

4

Enter the password for the root or administrative user account.

Note
If no password is defined for the account, press Enter.

5

When you see the storage system prompt followed by a system message, press Return to get to the storage system prompt.

Example

toaster> Thu Aug 5 15:19:39 PDI [toaster: telnet_0:info]: 
root logged in from host: unix_host12.xxx.yyy.com

Press Enter.

toaster>

Note
You can abort commands entered through a Telnet session by pressing Ctrl-C.

Terminating a Telnet session  Top

You can terminate a Telnet session from the Telnet session, from a console session, or from a Remote Shell connection.

To terminate a Telnet session with a storage system, complete the following step.

Step

Action

1

Press Ctrl-] or enter the following command to log out of the storage system at the system prompt or at the console:

logout telnet

or press Ctrl-D to close the Telnet session.

Note
If you are at a Remote Shell connection, enter the following command:

rsh -l username:password hostname logout telnet

What you can configure  Top

You can configure the following behavior for Telnet sessions:

Configuring a banner message  Top

You can configure a banner message to appear at the beginning of a Telnet session to a storage system by creating a file called issue in the /etc directory of the administration host's root volume. The message only appears at the beginning of the session. It is not repeated if there are multiple failures when attempting to log in. The following example shows how the message in /etc/issue appears, assuming the contents of the issue file is "This system is for demonstrations only."

admin_host% telnet toaster
Trying 172.15.95.97.49...
Connected to toaster.xyz.com
Escape character is `^]'.

This system is for demonstrations only.

 
Data ONTAP <toaster.xyz.com>
Login: 

Configuring the timeout period  Top

You can configure the timeout period for Telnet sessions. By default, Telnet sessions have timeout periods of 60 minutes.

Changing the timeout period  Top

To change the timeout period for Telnet sessions, complete the following step.

Step

Action

1

Enter the following command:

options autologout.telnet.timeout minutes

minutes is the length of the timeout period.

The range of minutes is 1 to 35,791. The maximum number is equal to approximately 596 hours, or slightly less than 25 days.

Disabling the timeout period  Top

To disable the timeout period for Telnet sessions, complete the following step.

Step

Action

1

Enter the following command:

options autologout.telnet.enable off

When options command values take effect  Top

A Telnet session must be reestablished before any of the following options command values take effect:

For more information about these options, see the online na_options(1) man page or the Commands: Manual Reference Page, Volume 1.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments