hit counter script

Specifying The Ssh Public Keys In Openssh Format - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring SSH and Telnet
Command or Action
switch(config)# username User1 sshkey file
bootflash:secsh_file.pub
Step 4
exit
Example:
switch(config)# exit
switch#
Step 5
(Optional) show user-account
Example:
switch# show user-account
Step 6
(Optional) copy running-config startup-config
Example:
switch# copy running-config startup-config

Specifying the SSH Public Keys in OpenSSH Format

You can specify the SSH public keys in OpenSSH format for user accounts.
Before you begin
Generate an SSH public key in OpenSSH format.
SUMMARY STEPS
1. configure terminal
2. username username sshkey ssh-key
3. exit
4. (Optional) show user-account
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
username username sshkey ssh-key
Example:
switch(config)# username User1 sshkey
ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAy19oF6QaZl9G+3f1XswK3OiW4H7YyUyuA50rv7gsEPj
hOBYmsi6PAVKui1nIf/DQhum+lJNqJP/eLowb7ubO+lVKRXFY/G+lJNIQW3g9igG30c6k6+
XVn+NjnI1B7ihvpVh7dLddMOXwOnXHYshXmSiH3UD/vKyziEh5S4Tplx8=
Purpose
Exits global configuration mode.
Displays the user account configuration.
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Configures the SSH public key in OpenSSH format.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Specifying the SSH Public Keys in OpenSSH Format
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF