
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-3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring SSH and Telnet
Guidelines and Limitations
Guidelines and Limitations
SSH have the following configuration guidelines and limitations:
•
The Nexus 5000 Series switch supports only SSH version 2 (SSHv2).
Note
If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature
might differ from the Cisco IOS commands that you would use.
Configuring SSH
This section includes the following sections:
•
Generating SSH Server Keys, page 1-3
•
Specifying the SSH Public Keys for User Accounts, page 1-4
•
Starting SSH Sessions to Remote Devices, page 1-6
•
•
Disabling the SSH Server, page 1-6
•
Deleting SSH Server Keys, page 1-7
•
Clearing SSH Sessions, page 1-7
Generating SSH Server Keys
You can generate an SSH server key based on your security requirements. The default SSH server key is
an RSA key generated using 1024 bits. To generate SSH server keys, perform this task:
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
ssh key
{
dsa
[
force
] |
rsa
[
bits
[
force
]]}
Generates the SSH server key.
The
bits
argument is the number of bits used to
generate the key. The range is 768 to 2048 and the
default value is 1024.
Use the
force
keyword to replace an existing key.
Step 3
switch(config)#
exit
Exits global configuration mode.
Step 4
switch#
show ssh key
(Optional) Displays the SSH server keys.
Step 5
switch#
copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.