How to configure SSH on Cisco switch

3,376 views
3,268 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,376
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to configure SSH on Cisco switch

  1. 1. SSH Configuration on switch WWW.TCPIPGURU.CO M
  2. 2. Configuring SSH on switch:R1>enableR1#config tRouter(config)#hosRouter(config)#hostname R1R1(config)#ip doR1(config)#ip domain-nR1(config)#ip domain-nR1(config)#crypto keyR1(config)#crypto key genR1(config)#crypto key generate rsR1(config)#crypto key generate rsa genR1(config)#crypto key generate rsa general-keys moR1(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
  3. 3. R1(config)#ip ssh time-out 60R1(config)#ip ssh authentication-retries 3R1(config)#username admin password 123R1(config)#line vty 0 6R1(config-line)#login localR1(config-line)#transport input ssh

×