Disabling The Ssh Server; Deleting Ssh Server Keys - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring SSH and Telnet

Disabling the SSH Server

By default, the SSH server is enabled on the Cisco NX-OS device. You can disable the SSH server to prevent
SSH access to the switch.
SUMMARY STEPS
1. configure terminal
2. no feature ssh
3. exit
4. (Optional) show ssh server
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
no feature ssh
Example:
switch(config)# no feature ssh
Step 3
exit
Example:
switch(config)# exit
switch#
Step 4
(Optional) show ssh server
Example:
switch# show ssh server
Step 5
(Optional) copy running-config startup-config
Example:
switch# copy running-config startup-config

Deleting SSH Server Keys

You can delete SSH server keys on the Cisco NX-OS device after you disable the SSH server.
Note
To reenable SSH, you must first generate an SSH server key.
Purpose
Enters global configuration mode.
Disables SSH.
Exits global configuration mode.
Displays the SSH server configuration.
Copies the running configuration to the startup
configuration.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Disabling the SSH Server
145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents