PurposeCommand
Displays the users logged into the device.show users
Displays the configured CA certificate and associated trustpoint for
X.509v3 certificate-based SSH authentication.
show crypto ca certificates
Displays the contents of the CRL list of the specified trustpoint for
X.509v3 certificate-based SSH authentication.
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
Configuring SSH and Telnet
Configuration Example for SSH