Saturday, August 10, 2013

SSH into Gns3





How to SSH into Gns3 Router from vmware machine

In this scenario explaining how to ssh from Vmware machine to gns3 router. The router R1 is C2600 and Cloud C1 is used for connecting vmware machine to gns3 with vm virtual adpter VMnet1(host only).The IP address of the router interface is 192.168.10.1 and vm interface is 192.168.10.10


Configuration Router R1

R1#conf t
R1(config)#int fa 0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#enable secret cisco
R1(config)#username admin password cisco
R1(config)#crypto key generate rsa
The name for the keys will be: R1.red.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
R1(config)#line vty 0 4
R1(config-line)#transport input ssh
R1(config-line)#login local
R1(config-line)#exit

SSH from vmware








watch below video





No comments: