Accessing a storage system using a Telnet session
Requirements for using a Telnet session
The following requirements must be met before you can connect to a storage system using a Telnet session.
- The telnet.enable option must be set to On, which is the default setting. You verify the option is on by entering the options telnet command. You set the option to On by entering the options telnet.enable on command. For more information, see the Options man page.
- The telnet.access option must be set so that the protocol access control defined for the storage system allows Telnet access. For more information, see the na_options(1) and na_protocolaccess(1) man pages.
Number of active Telnet sessions allowed
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
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:
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
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
You can configure the following behavior for Telnet sessions:
- A banner message appearing above the Telnet login prompt
- A timeout period
Configuring a banner message
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
You can configure the timeout period for Telnet sessions. By default, Telnet sessions have timeout periods of 60 minutes.
Changing the timeout period
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
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
A Telnet session must be reestablished before any of the following options command values take effect:
- autologout.console.enable
- autologout.console.timeout
- autologout.telnet.enable
- autologout.telnet.timeout
For more information about these options, see the online na_options(1) man page or the Commands: Manual Reference Page, Volume 1.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01077_B0
File: 3access4.htm
Last updated: 21-Dec-2005 09:03:21