
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring SSH and Telnet
Configuring Telnet
Deleting SSH Server Keys
You can delete SSH server keys after you disable the SSH server.
Note
To reenable SSH, you must first generate an SSH server key (see
“Generating SSH Server Keys” section
).
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 1-7
•
Starting Telnet Sessions to Remote Devices, page 1-8
•
Clearing SSH Sessions, page 1-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] feature ssh
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.