More Related Content
Similar to How to configure SSH on Cisco switch
Similar to How to configure SSH on Cisco switch (20)
How to configure SSH on Cisco switch
- 3. Configuring SSH on switch:
R1>enable
R1#config t
Router(config)#hos
Router(config)#hostname R1
R1(config)#ip do
R1(config)#ip domain-n
R1(config)#ip domain-n
R1(config)#crypto key
R1(config)#crypto key gen
R1(config)#crypto key generate rs
R1(config)#crypto key generate rsa gen
R1(config)#crypto key generate rsa general-keys mo
R1(config)#crypto key generate rsa general-keys modulus 768
% The key modulus size is 768 bits
% Generating 768 bit RSA keys, keys will be non-exportable...[OK]
*Mar 1 08:45:37.633: %SSH-5-ENABLED: SSH 1.99 has been enabled
- 4. R1(config)#ip ssh time-out 60
R1(config)#ip ssh authentication-retries 3
R1(config)#username admin password 123
R1(config)#line vty 0 6
R1(config-line)#login local
R1(config-line)#transport input ssh