Hi guys,
I have recently installed Eve-NG on the GCP (Google Cloud). After a successful install, I have setup my first lab with 3 Cisco vIOS routers. I could telnet to each of them on ports 32769, 32770, and 32771 from my home machine. Life is good!
But I wanted to do SSH as well from my home machine so I have enabled SSH on each of these routers. Since the Cisco router didn't allow any port above 10K for SSH access, I have configured ports 9990, 9991, and 9992 on each of those routers. But I couldn't SSH to them from outside.
How can I make this work? TIA for any inputs.
Kalyan
SSH to Cisco Routers on GCP
Moderator: mike
-
- Posts: 5086
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: SSH to Cisco Routers on GCP
you can NOT ssh. Default for consoles is telnet.
-
- Posts: 4
- Joined: Tue Apr 28, 2020 1:20 am
Re: SSH to Cisco Routers on GCP
Then what is the way to do network automation? I see the network automation packages always do SSH to the routers/switches.
-
- Posts: 5086
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: SSH to Cisco Routers on GCP
on GCP then you need to order second public IP, assign it to some lab router which will act like breakout node
then you will be able get in lab routers with full ssh connection..
or make all inside lab with some Linux host for phyton, and connect it to lab nodes and use this lan without internet
then you will be able get in lab routers with full ssh connection..
or make all inside lab with some Linux host for phyton, and connect it to lab nodes and use this lan without internet
-
- Posts: 4
- Joined: Tue Apr 28, 2020 1:20 am
Re: SSH to Cisco Routers on GCP
Thank you, it helped.
To add, automation packages do support telnet if anyone wants. For example, in Netmiko you can change the "device_type" parameter from "cisco_xe" to "cisco_xe_telnet" if you prefer to telnet to the target device.
Hope this helps some people out there.
To add, automation packages do support telnet if anyone wants. For example, in Netmiko you can change the "device_type" parameter from "cisco_xe" to "cisco_xe_telnet" if you prefer to telnet to the target device.
Hope this helps some people out there.