Ssh Key - Cisco Nexus 7000 Series Command Reference Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

S Commands

ssh key

To create a Secure Shell (SSH) server key for a virtual device context (VDC), use the ssh key command. To
remove the SSH server key, use the no form of this command.
ssh key {dsa [force]| rsa [length [force]]}
no ssh key [dsa| rsa]
Syntax Description
dsa
force
rsa
length
Command Default
1024-bit length
Command Modes
Global configuration
Command History
Release
5.1(1)
4.0(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 feature
ssh command.
This command does not require a license.
Examples
This example shows how to create an SSH server key using DSA:
switch# configure terminal
switch(config)# ssh key dsa
generating dsa key(1024 bits).....
..
generated dsa key
Specifies the Digital System Algrorithm (DSA) SSH
server key.
(Optional) Forces the replacement of an SSH key.
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 1024 to 2048.
Modification
Removed support for RSA keys less than 1024 bits.
This command was introduced.
Cisco Nexus 7000 Series Security Command Reference
ssh key
665

Advertisement

Table of Contents
loading

Table of Contents