Guidelines And Limitations; Configuring Ssh; Generating Ssh Server Keys - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 19
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 has the following configuration guidelines and limitations:

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
The following example shows how to generate an SSH server key:
switch# configure terminal
switch(config)# ssh key rsa 2048
switch(config)# exit
switch# show ssh key
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 19-3
Specifying the SSH Public Keys for User Accounts, page 19-4
Starting SSH Sessions to Remote Devices, page 19-6
Clearing SSH Hosts, page 19-6
Disabling the SSH Server, page 19-6
Deleting SSH Server Keys, page 19-6
Clearing SSH Sessions, page 19-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
19-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents