Configuring Ssh; Generating Ssh Server Keys - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

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
Guidelines and Limitations
SSH have the following configuration guidelines and limitations:
If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature
Note
might differ from the Cisco IOS commands that you would use.

Configuring SSH

This section includes the following sections:

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
Step 1
switch# configure terminal
Step 2
switch(config)# ssh key {dsa [force] | rsa
[bits [force]]}
Step 3
switch(config)# exit
Step 4
switch# show ssh key
Step 5
switch# copy running-config startup-config
OL-16597-01
The Nexus 5000 Series switch supports only SSH version 2 (SSHv2).
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
Clearing SSH Hosts, page 1-6
Disabling the SSH Server, page 1-6
Deleting SSH Server Keys, page 1-7
Clearing SSH Sessions, page 1-7
Purpose
Enters configuration mode.
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.
Exits global configuration mode.
(Optional) Displays the SSH server keys.
(Optional) Copies the running configuration to the
startup configuration.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Guidelines and Limitations
1-3

Advertisement

Table of Contents
loading

Table of Contents