Configuration Example For Ssh - 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

Configuration Example for SSH

Command
show users
show crypto ca certificates
show crypto ca crl trustpoint
Configuration Example for SSH
The following example shows how to configure SSH with an OpenSSH key:
Step 1
Disable the SSH server.
Example:
switch# configure terminal
switch(config)# no feature ssh
Step 2
Generate an SSH server key.
Example:
switch(config)# ssh key rsa
generating rsa key(1024 bits)......
generated rsa key
Step 3
Enable the SSH server.
Example:
switch(config)# feature ssh
Step 4
Display the SSH server key.
Example:
switch(config)# show ssh key
could not retrieve dsa key information
**************************************
rsa Keys generated:Tue Mar 14 13:13:47 2017
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDh4+DZboQJbJt10nJhgKBYL5lOlhsFM2oZRi9+JqEU
GA44I9ej+E5NIRZ1x8ohIt6Vx9Et5csO7Pw72rjUwR3UPmuAm79k7I/SyLGEP3WUL7sqbLvNF5GqKXph
oqMT075WUdbGWphorA2g0tTObRrFIQBJVQ0SSBh3oEaaALqYUQ==
bitcount:1024
fingerprint:
SHA256:V6KAeLAiKRRUPBZm1Yq3rl6JW7Eo7vhLi6CXYxnD/+Y
**************************************
**************************************
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
150
Purpose
Displays the users logged into the device.
Displays the configured CA certificate and associated trustpoint for
X.509v3 certificate-based SSH authentication.
Displays the contents of the CRL list of the specified trustpoint for
X.509v3 certificate-based SSH authentication.
Configuring SSH and Telnet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents