EasyManuals Logo

Cisco Nexus 3600 NX-OS User Manual

Cisco Nexus 3600 NX-OS
154 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #76 background imageLoading...
Page #76 background image
PurposeCommand or Action
(Optional)
Copies the running configuration to the startup configuration.
switch# copy running-config
startup-config
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 an 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.
Procedure
PurposeCommand or Action
Enters global configuration move.switch# configure terminal
Step 1
Configures the SSH public key in SSH format.
switch(config)# username username
sshkey ssh-key
Step 2
Exits global configuration mode.switch(config)# exit
Step 3
(Optional)
Displays the user account configuration.
switch# show user-account
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 5
The following example shows how to specify an SSH public key in open SSH format:
switch# configure terminal
switch(config)# username User1 sshkey ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAri3mQy4W1AV9Y2t2hrEWgbUEYz
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
62
Configuring SSH and Telnet
Specifying the SSH Public Keys for User Accounts

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Nexus 3600 NX-OS and is the answer not in the manual?

Cisco Nexus 3600 NX-OS Specifications

General IconGeneral
BrandCisco
ModelNexus 3600 NX-OS
CategorySwitch
LanguageEnglish

Related product manuals