Chapter 1
Configuring SSH and Telnet
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
Deleting SSH Server Keys
You can delete SSH server keys after you disable the SSH server.
To reenable SSH, you must first generate an SSH server key (see
Note
on page
To delete the SSH server keys, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# [no] feature ssh
Step 3
switch(config)# no ssh key [dsa | rsa]
Step 4
switch(config)# exit
Step 5
switch# show ssh key
Step 6
switch# copy running-config startup-config
Clearing SSH Sessions
To clear SSH sessions from the Nexus 5000 Series switch, perform this task:
Command
Step 1
switch# show users
Step 2
switch(config)# clear line vty-line
Configuring Telnet
This section includes the following topics:
•
•
•
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:
OL-16597-01
1-3).
Clearing SSH Sessions, page 1-7
Starting Telnet Sessions to Remote Devices, page 1-8
Clearing SSH Sessions, page 1-7
Purpose
Enters configuration mode.
Enable/disables the SSH server.
Deletes the SSH server key.
The default is to delete all the SSH keys.
Exits global configuration mode.
(Optional) Displays the SSH server configuration.
(Optional) Copies the running configuration to the
startup configuration.
Purpose
Displays user session information.
Clears a user SSH session.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring Telnet
"Generating SSH Server Keys" section
1-7