SMC Networks SMC6128L2 Switch User Manual


 
U
SER
A
UTHENTICATION
3-83
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.
Generating the User Public Key Pair
A user public/private key pair is used to provide secure communications
between an SSH client and the switch. After generating this key pair, you
must provide the user public key to SSH clients and import the client’s
public key to the switch as described in the proceeding section (Command
Usage).
Field Attributes
Public-Key of admin/user – The public key for the adminstrator or
user.
- RSA: The first field indicates the size of the public key (e.g., 1024),
the second field is the encoded public exponent (e.g., 65537), and
the last string is the encoded modulus.
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/
Re6hlasfEthIwmjhLY4O0jqJZpcEQUgCfYlum0Y2uoLka+Py9ieGWQ8f2gobUZKIICu
Kg6vjO9XTs7XKc05xfzkBiKviDa+2OrIz6UK+6vFOgvUDFedlnixYTVo+h5v8r0ea2r
pnO6DkZAAAAFQCNZn/x17dwpW8RrV DQnSWw4Qk+6QAAAIEAptkGeB6B5hwagH4g
UOCY6i1TmrmSiJgfwO9OqRPUMbCAkCC+uzxatOo7drnIZypMx+Sx5RUdMGgKS+9ywsa
1cWqHeFY5ilc3lDCNBueeLykZzVS+RS+azTKIk/zrJh8GLG Nq375R55yRxFvmcGIn
Q7IphPqyJ3o9MK8LFDfmJEAAACAL8A6tESiswP2OFqX7VGoEbzVDSOI RTMFy
3iUXtvGyQAOVSy67Mfc3lMtgqPRUOYXDiwIBp5NXgilCg5z7VqbmRm28mWc5a//
f8TUAg PNWKV6W0hqmshQdotVzDR1e+XKNTZj0uTwWfjO5Kytdn4MdoTHgrbl/
DMdAfjnte8MZZs=
Console#