Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
19-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 19 Configuring SSH and Telnet
Configuring Telnet
To delete the SSH server keys, perform this task:
Clearing SSH Sessions
To clear SSH sessions from the Nexus 5000 Series switch, perform this task:
Configuring Telnet
This section includes the following topics:
Clearing SSH Sessions, page 19-7
Starting Telnet Sessions to Remote Devices, page 19-8
Clearing SSH Sessions, page 19-7
Enabling the Telnet Server
By default, the Telnet server is enabled. To disable the Telnet server on your Nexus 5000 Series switch,
perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# no ssh server enable
Disables the SSH server.
Step 3
switch(config)# no ssh key [dsa | rsa]
Deletes the SSH server key.
The default is to delete all the SSH keys.
Step 4
switch(config)# exit
Exits global configuration mode.
Step 5
switch# show ssh key
(Optional) Displays the SSH server configuration.
Step 6
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
Step 1
switch# show users
Displays user session information.
Step 2
switch(config)# clear line vty-line
Clears a user SSH session.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# telnet server disable
Disables the Telnet server. The default is
enabled.