Changing The Default Ssh Server Port - 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
Command or Action
Step 5
(Optional) ssh keytypes all
Example:
switch(config)# ssh keytypes all

Changing the Default SSH Server Port

Beginning with Cisco NX-OS Cisco Release 9.2(1), you can change the SSHv2 port number from the default
port number 22. Encryptions used while changing the default SSH port provides you with connections that
support stronger privacy and session integrity
SUMMARY STEPS
1. configure terminal
2. no feature ssh
3. show sockets local-port-range
4. ssh port local-port
5. feature ssh
6. exit
7. (Optional) show running-config security all
8. (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
show sockets local-port-range
Example:
Purpose
Enables all supported PubkeyAcceptedKeyTypes which
are the public key algorithms that the server can use to
authenticate itself to the client.
Supported key types are:
• ecdsa-sha2-nistp256
• ecdsa-sha2-nistp384
• ecdsa-sha2-nistp521
• ssh-dss
• ssh-rsa
Purpose
Enters global configuration mode.
Disables SSH.
Displays the available port range.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Changing the Default SSH Server Port
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents