RSA:
1024 37 154886675541099600242673908076171863880953984597454546825066951007
29617437427136900505591624068119579408716226078634780682201498685790475062
34519480679939485042653504179153032795337422103356695026441903823445835730
88823472889690842821665429031315937652815279387868298539820466143474130023
09979848162607182657 rsa-key-20071106
DSA:
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "dsa-key-20071105"
AAAAB3NzaC1kc3MAAA
CAeqNnwpAVz82Z3zFif0KGF846S5m5useW8rQp8DBv1IQ/sLYRuoCtW/+hllIaUu2F9Ps6D5gJ
dKjyEPKRutJv1rAwq1YZ61/fat9OGpM3oaqMf6UiVUK4gEsaq8T6UqrGsIDcXWyvmbI02+R/
owN43kwEJCfmpBXelhU962AA2G0AAAAVAKxtZo+MjTVzRJ+9mFTFIUpawm7HAAAAgCINbco4jT
WcdMKS1oQTA+WnCehlsd8j5MpDc3VccySMaFzcPgxT+N79WVxWNJQaS8l9TfY3EDg9VfCooLZD
rn/yX67MV3p/IJej57DsNjLnCHpaGE/OKfkAhvjRzlufS4f4wAzOYCBNxb6XY6Vew8Pi7Wri
L/Xrm4AQ0t4wSjjEAAAAgDNcKKEpZw16wW7E9EmbQp5s5gu9lCVCqMz5r76EyEzc
9uIYvxy54GHMtyBwLTITh6lbxEGD6cOnkCW+ieRye9fiJfs7u4QdL9NZb+WLZvcUXm6E1vUc70
OpelDFxbfhQawgGFxvx7rzv85D75ffNEqbLW2mKApehuQrHYbPZOnX
---- END SSH2 PUBLIC KEY ----
Console#
Configuring the SSH Server
The SSH server includes basic settings for authentication.
Field Attributes
• SSH Server Status – Allows you to enable/disable the SSH server on the switch.
(Default: Disabled)
• Version – The Secure Shell version number. Version 2.0 is displayed, but the
switch supports management access via either SSH Version 1.5 or 2.0 clients.
• SSH Authentication Timeout – Specifies the time interval in seconds that the
SSH server waits for a response from a client during an authentication attempt.
(Range: 1 to 120 seconds; Default: 120 seconds)
• SSH Authentication Retries – Specifies the number of authentication attempts
that a client is allowed before authentication fails and the client has to restart the
authentication process. (Range: 1-5 times; Default: 3)
6-14
CLI
– This example imports an SSHv2 DSA public key for the user admin and then
displays admin’s imported public keys. Note that public key authentication through
SSH is only supported for users configured locally on the switch.
Console#copy tftp public-key
TFTP server IP address: 192.168.1.254
Choose public key type:
1. RSA: 2. DSA: <1-2>: 2
Source file name: admin-ssh2-dsa-pub.key
Username: admin
TFTP Download
Success.
Write to FLASH Programming.
Success.
Console#show public-key user admin
admin:
23-11
2
5
-
2
3
User Authentication
6