hit counter script

Ssh Key - Cisco Nexus 5500 Series Command Reference Manual

Nx-os security command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

ssh key

ssh key
To create a Secure Shell (SSH) server key, use the ssh key command. To remove the SSH server key, use
the no form of this command.
Syntax Description
dsa
force
rsa
length
Command Default
1024-bit length
Command Modes
Global configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
The Cisco NX-OS software supports SSH version 2.
If you want to remove or replace an SSH server key, you must first disable the SSH server using the no
ssh server enable command.
Examples
This example shows how to create an SSH server key using RSA with the default key length:
switch(config)# ssh key rsa
This example shows how to create an SSH server key using RSA with a specified key length:
switch(config)# ssh key rsa 768
This example shows how to replace an SSH server key using DSA with the force option:
switch(config)# no ssh server enable
switch(config)# ssh key dsa force
switch(config)# ssh server enable
This example shows how to remove the DSA SSH server key:
switch(config)# no ssh server enable
switch(config)# no ssh key dsa
Cisco Nexus 5500 Series NX-OS Security Command Reference
244
ssh key {dsa [force] | rsa [length [force]]}
no ssh key [dsa | rsa]
Specifies the Digital System Algorithm (DSA) SSH server key.
(Optional) Forces the generation of a DSA SSH key even if previous ones are
present.
Specifies the Rivest, Shamir, and Adelman (RSA) public-key cryptography
SSH server key.
(Optional) Number of bits to use when creating the SSH server key. The
range is from 768 to 2048.
Modification
This command was introduced.
Chapter
S Commands
OL-27883-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF