Switch(config)#hostname Cisco
------------------------------------------------------
Cisco(config)#IP domain-name Example.Com
------------------------------------------------------
Cisco(config)#crypto key generate RSA
The name for the keys will be: Cisco.Example.Com
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, keys will be non-exportable...[OK]
*Mar 1 0:1:48.504: %SSH-5-ENABLED: SSH 1.99 has been enabled
------------------------------------------------------
Cisco(config)#username admin password cisco
------------------------------------------------------
Cisco(config)#line vty 0 4
------------------------------------------------------
Cisco(config-line)#password cisco
------------------------------------------------------
Cisco(config-line)#login local
------------------------------------------------------
حالا میتونید با نرم افزار Putty و یا ..... به Deviceتون SSH ارتباط بگیرین
موفق باشید...