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
39-18
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 39 Configuring Users and Common Roles
Configuring SSH Services
Enabling SSH or Telnet Service
By default, the SSH service is disabled.
To enable or disable the SSH service, follow these steps:
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 39-11
).
Example 39-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 39-12
).
Example 39-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
AAAAB3NzaC1kc3MAAABBAJTCRQOydNRel2v7OTn8eGdnnDVxw5eJs5OcOEXOyjaWcMMYsEgxc9ada1NElp
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
Note
If you are logging in to a switch through SSH and you have issued the
aaa authentication login default
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.
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
ssh server enable
updated
Enables the use of the SSH service.
switch(config)#
no
ssh server enable
updated
Disables (default) the use of the SSH service and resets
the switch to its factory defaults.