C
ONFIGURING
THE
S
WITCH
3-88
CLI – This example generates a host-key pair using both the RSA and
DSA algorithms, stores the keys to flash memory, and then displays the
host’s public keys.
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)
Console#ip ssh crypto host-key generate 4-48
Console#ip ssh save host-key 4-48
Console#show public-key host 4-48
Host:
RSA:
1024 65537
127250922544926402131336514546131189679055192360076028653006761
8240969094744832010252487896597759216832222558465238779154647980739
6314033869257931051057652122430528078658854857892726029378660892368
4142327591212760325919683697053439336438445223335188287173896894511
729290510813919642025190932104328579045764891
DSA:
ssh-dss AAAAB3NzaC1kc3MAAACBAN6zwIqCqDb3869jYVXlME1sHL0EcE/Re6hlasf
EthIwmjhLY4O0jqJZpcEQUgCfYlum0Y2uoLka+Py9ieGWQ8f2gobUZKIICuKg6vjO9X
Ts7XKc05xfzkBiKviDa+2OrIz6UK+6vFOgvUDFedlnixYTVo+h5v8r0ea2rpnO6DkZA
AAAFQCNZn/x17dwpW8RrV DQnSWw4Qk+6QAAAIEAptkGeB6B5hwagH4gUOCY6i1Tmrm
SiJgfwO9OqRPUMbCAkCC+uzxatOo7drnIZypMx+Sx5RUdMGgKS+9ywsa1cWqHeFY5il
c3lDCNBueeLykZzVS+RS+azTKIk/zrJh8GLG Nq375R55yRxFvmcGIn/Q7IphPqyJ3o
9MK8LFDfmJEAAACAL8A6tESiswP2OFqX7VGoEbzVDSOIRTMFy3iUXtvGyQAOVSy67Mf
c3lMtgqPRUOYXDiwIBp5NXgilCg5z7VqbmRm28mWc5a//f8TUAgPNWKV6W0hqmshQdo
tVzDR1e+XKNTZj0uTwWfjO5Kytdn4MdoTHgrbl/DMdAfjnte8MZZs=
Console#