Nortel Networks 2300 Switch User Manual


 
132 Configuring and managing IP interfaces and services
NN47250-500 (320657-F Version 02.01)
Managing SSH server sessions
Use the following commands to manage SSH server sessions:
show sessions admin
clear sessions admin ssh [session-id]
These commands display and clear SSH server sessions.
To display the SSH server sessions on a WSS, type the following command:
WSS# show sessions admin
Tty Username Time (s) Type
------- -------------------- -------- ----
tty0 3644 Console
tty2 tech 6 Telnet
tty3 sshadmin 381 SSH
3 admin sessions
To clear all SSH server sessions, type the following command:
WSS# clear sessions admin ssh
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
Cleared ssh session on tty3
(To manage Telnet client sessions, see “Logging in to a remote device” (page 146).)
Managing Telnet
Telnet requires a valid username and password for access to the switch.
Telnet login timers
After the username prompt is displayed, WSS Software allows 30 seconds to enter a valid username and password to
complete the login. If you do not press Enter or complete the login before the timer expires, WSS Software ends the
session. This timer is not configurable.
Enabling Telnet
Telnet is disabled by default. To enable Telnet, use the following command:
set ip telnet server {enable | disable}
Note. If you type the clear sessions admin ssh command from within an SSH session,
the session ends as soon as you press Enter.