How to enable SSH and create username on Cisco switch

Core_4503(config)#ip domain-name Chicagotech.net

Core_4503(config)#crypto key generate rsa
                                                               

The name for the keys will be: Core_4503. Chicagotech.net

 Choose the size of the key modulus in the range of 360 to 2048 for your                                                   General Purpose Keys. Choosing a key modulus greater than 512 may take            
a few minutes.                                                                                                                                                                                                                                How many bits in the modulus [512]: 1024                                                

                                                                    

% Generating 1024 bit RSA keys …[OK]                                                                                                                                                                                                          Core_4503(config)#username blin secret Pa$$w0rd

Core_4503(config)#line vty 0 15                                                                         

Core_4503(config-line)#transport input ssh                                            

Core_4503(config-line)#login local                                                                                  

Core_4503(config-line)#exit                                                                                                                 

Core_4503(config)#ip ssh version 2                        

Core_4503(config)#end

Core_4503#copy running-config startup-config

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com