Procedure
PurposeCommand or Action
Displays user session information.switch# show users
Step 1
Clears a user SSH session.
switch# clear line vty-line
Step 2
Configuration Examples for SSH
The following example shows how to configure SSH:
Procedure
Step 1
Generate an SSH server key.
switch(config)# ssh key rsa
generating rsa key(1024 bits).....
.
generated rsa key
Step 2
Enable the SSH server.
switch# configure terminal
switch(config)# feature ssh
This step should not be required because the SSH server is enabled by default.Note
Step 3
Display the SSH server key.
switch(config)# show ssh key
rsa Keys generated:Fri May 8 22:09:47 2009
ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAri3mQy4W1AV9Y2t2hrEWgbUEYzCfTPO5B8LRkedn56BEy2N9ZcdpqE6aqJLZwfZ/
cTFEzaAAZp9AS86dgBAjsKGs7UxnhGySr8ZELv+DQBsDQH6rZt0KR+2Da8hJD4ZXIeccWk0gS1DQUNZ300xstQsYZUtqnx1bvm5/
Ninn0Mc=
bitcount:1024
fingerprint:
4b:4d:f6:b9:42:e9:d9:71:3c:bd:09:94:4a:93:ac:ca
**************************************
could not retrieve dsa key information
**************************************
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
67
Configuring SSH and Telnet
Configuration Examples for SSH