Generating SSH Keys
The
ssh generate
command generates a public/private key pair which is to be used by the SSH server. The
v1-rsa
keyword has been removed from and the
v2-dsa
keyword concealed within the
ssh generate
CLI
command. The only keyword available for generating SSH keys is
v2-rsa
.
The generated key pair remains in use until the command is issued again.
Important
Step 1
Enter the context configuration mode:
[local]
host_name
(config)#
context context_name
[local]host_name(config-ctx)#
Step 2
Generate an SSH key pair.
[local]
host_name
(config-ctx)#
ssh generate key type v2-rsa
[local]
host_name
(config-ctx)#
Setting SSH Key Pair
The
ssh key
command sets the public/private key pair to be used by the system. The
v2-dsa
keyword is
concealed in the
ssh key
command.
Specify the SSH key pair parameters.
[local]host_name(config-ctx)#
ssh key data length octets type v2-rsa
Notes:
•
data
is the encrypted key expressed as an alphanumeric string of 1 through 1023 characters
•
length octets
is the length of the encrypted key in octets expressed as an integer from 0 through 65535
•
type
specifies the key type;
v2-rsa
is the only supported type.
For releases prior to 20.0
, StarOS supports a maximum of 64 configurable authorized SSH keys.
For
release 20.0 and higher
, StarOS supports a maximum of 200 configurable authorized SSH keys.
Important
ASR 5500 Installation Guide
107
Initial System Configuration
Generating SSH Keys
Summary of Contents for ASR 5500
Page 12: ...ASR 5500 Installation Guide xii Contents ...
Page 16: ...ASR 5500 Installation Guide xvi About this Guide Contacting Customer Support ...
Page 40: ...ASR 5500 Installation Guide 24 Technical Specifications Chassis Grounding ...
Page 74: ...ASR 5500 Installation Guide 58 Card Installation Save Shipping Cartons ...
Page 88: ...ASR 5500 Installation Guide 72 MIO Port Cabling Cleaning Fiber Optic Connectors ...
Page 112: ...ASR 5500 Installation Guide 96 System Power up show leds Command ...
Page 130: ...ASR 5500 Installation Guide 114 Initial System Configuration Additional Configuration Tasks ...
Page 164: ...ASR 5500 Installation Guide 148 Replaceable Components Returning Failed Components ...
Page 186: ...ASR 5500 Installation Guide 170 Console Port to Cisco Server Cabling Configuration ...
Page 192: ...ASR 5500 Installation Guide 176 RMA Shipping Procedures Rear Cards ...