Purpose
Command or Action
Exits global configuration mode.
switch(config)#
exit
Step 3
(Optional)
Displays the SSH server configuration.
switch#
show ssh server
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch#
copy running-config
startup-config
Step 5
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.
Note
Procedure
Purpose
Command or Action
Enters global configuration move.
switch#
configure terminal
Step 1
Disables the SSH server.
switch(config)#
no feature ssh
Step 2
Deletes the SSH server key.
switch(config)#
no ssh key
[
dsa
|
rsa
]
Step 3
The default is to delete all the SSH keys.
Exits global configuration mode.
switch(config)#
exit
Step 4
(Optional)
Displays the SSH server configuration.
switch#
show ssh key
Step 5
(Optional)
Copies the running configuration to the startup
configuration.
switch#
copy running-config
startup-config
Step 6
Clearing SSH Sessions
You can clear SSH sessions from the Cisco Nexus device.
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
66
Configuring SSH and Telnet
Deleting SSH Server Keys