Enabling Ssh Or Telnet Service; Displaying Ssh Protocol Status - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Configuring SSH Services
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

Enabling SSH or Telnet Service

By default, the SSH service is enabledwith the rsa key.
To enable or disable the SSH or Telnet service, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# feature ssh
updated
switch(config)# no feature ssh
updated
switch(config)# feature telnet
updated
switch(config)# no feature telnet
updated

Displaying SSH Protocol Status

Use the show ssh server command to display the status of the SSH protocol (enabled or disabled) and
the versions that are enabled for that switch (see
Example 32-11 Displays SSH Protocol Status
switch# show ssh server
ssh is enabled
version 1 enabled
version 2 enabled
Use the show ssh key command to display the server key-pair details for the specified key or for all keys,
(see
Example 32-12 Displays Server Key-Pair Details
switch# show ssh key
rsa1 Keys generated:Sun Jan 13 07:16:26 1980
1024 35
fingerprint:
1024 67:76:02:bd:3e:8d:f5:ad:59:5a:1e:c4:5e:44:03:07
could not retrieve rsa key information
dsa Keys generated:Sun Jan 13 07:40:08 1980
ssh-dss
AAAAB3NzaC1kc3MAAABBAJTCRQOydNRel2v7uiO6Fix+OTn8eGdnnDVxw5eJs5OcOEXOyjaWcMMYsEgxc9ada1NElp
8Wy7GPMWGOQYj9CU0AAAAVAMCcWhNN18zFNOIPo7cU3t7d0iEbAAAAQBdQ8UAOi/Cti84qFb3kTqXlS9mEhdQUo0lH
cH5bw5PKfj2Y/dLR437zCBKXetPj4p7mhQ6Fq5os8RZtJEyOsNsAAABAA0oxZbPyWeR5NHATXiyXdPI7j9i8fgyn9F
NipMkOF2Mn75Mi/lqQ4NIq0gQNvQOx27uCeQlRts/QwI4q68/eaw=
fingerprint:
512 f7:cc:90:3d:f5:8a:a9:ca:48:76:9f:f8:6e:71:d4:ae
If you are logging in to a switch through SSH and you have issued the aaa authentication login default
Note
none CLI command, you must enter one or more key strokes to log in. If you press the Enter key without
entering at least one keystroke, your log in will be rejected.
Cisco MDS 9000 Family CLI Configuration Guide
32-18
Example
32-12).
Chapter 32
Purpose
Enters configuration mode.
Enables the use of the SSH service.
Disables (default) the use of the SSH service.
Enables the use of the Telnet service.
Disables (default) the use of the Telnet service.
Example
32-11).
OL-18084-01, Cisco MDS NX-OS Release 4.x
Configuring Users and Common Roles

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents