cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
786
Views
0
Helpful
2
Replies

can you connect via ssh to a router to itself by passing by another ?

lucadiasmadeira
Level 1
Level 1

I am trying to test if our ssh parameters are correct on our cisco routers, and my coworker tried something I'm not sure is working :

 

connect from router A to router B via ssh, and form there connect from router B to router A via ssh 

A -ssh-> B -ssh-> A

 

is it possible ? I need to know since my coworker doesn't try any other way to test if our ssh parameters are correct.

 

 

2 Replies 2

Marvin Rhoads
Hall of Fame
Hall of Fame

Sure it's possible.

As long as there are no ACLs on router A's vty lines that would prevent the incoming session from router B.

Router A would initially see the IP you are trying to SSH to as directly connected, so you would need to setup VRFs on the router to separate the routing domains.  That is if you want to force the traffic via another router.

--
Please remember to select a correct answer and rate helpful posts
Review Cisco Networking for a $25 gift card