Specifying The Ssh Public Keys For User Accounts; Specifying The Ssh Public Keys In Open Ssh Format - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring SSH and Telnet
Step 3
Step 4
Step 5
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

Specifying the SSH Public Keys for User Accounts

You can configure an SSH public key to log in using the SSH client without being prompted for a password.
You can specify the SSH public key in one of three different formats:
• Open SSH format
• IETF SECSH format
• Public Key Certificate in PEM format

Specifying the SSH Public Keys in Open SSH Format

You can specify the SSH public keys in SSH format for user accounts.
To specify the SSH public keys in open SSH format, generate an SSH public key in open SSH format and
perform this task:
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
OL-16597-01
Command or Action
switch(config)# exit
switch# show ssh key
switch# copy running-config
startup-config
Command or Action
switch# configure terminal
switch(config)# username username
sshkey ssh-key
switch(config)# exit
switch# show user-account
switch# copy running-config
startup-config
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Specifying the SSH Public Keys for User Accounts
Purpose
Exits global configuration mode.
(Optional)
Displays the SSH server keys.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
Configures the SSH public key in SSH format.
Exits global configuration mode.
(Optional)
Displays the user account configuration.
(Optional)
Copies the running configuration to the startup
configuration.
271

Advertisement

Table of Contents
loading

Table of Contents