Specifying The Ssh Public Keys In Pem-Formatted Public Key Certificate Form - Cisco Nexus 5000 Series Configuration Manual

Nx-os security configuration guide
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring SSH and Telnet
DETAILED STEPS
Command or Action
Step 1
switch# copy server-file bootflash: filename
Step 2
switch# configure terminal
Step 3
switch(config)# username username sshkey file
filename
Step 4
switch(config)# exit
Step 5
switch# show user-account
Step 6
switch# copy running-config startup-config
The following example shows how to specify the SSH public keys in the IETF SECSH format:
switch#copy tftp://10.10.1.1/secsh_file.pub bootflash:secsh_file.pub
switch# configure terminal
switch(config)# username User1 sshkey file bootflash:secsh_file.pub
switch(config)# exit
switch# show user-account
switch# copy running-config startup-config

Specifying the SSH Public Keys in PEM-Formatted Public Key Certificate Form

You can specify the SSH public keys in PEM-formatted Public Key Certificate form for user accounts.
To specify the SSH public keys in PEM-formatted Public Key Certificate form, generate an SSH public key
in PEM-Formatted Public Key Certificate form and perform this task:
SUMMARY STEPS
1. switch# copy server-file bootflash: filename
2. switch# configure terminal
3. (Optional) switch# show user-account
4. (Optional) switch# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# copy server-file bootflash: filename
OL-20919-01
Specifying the SSH Public Keys in PEM-Formatted Public Key Certificate Form
Purpose
Downloads the file containing the SSH key in IETF SECSH
format from a server. The server can be FTP, SCP, SFTP, or
TFTP.
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.
Purpose
Downloads the file containing the SSH key in PEM-formatted
Public Key Certificate form from a server. The server can be FTP,
SCP, SFTP, or TFTP
Cisco Nexus 5000 Series NX-OS Security Configuration Guide
65

Advertisement

Table of Contents
loading

Table of Contents