I have two cisco devices directly connected.
- router1 = 10.70.223.96/31
- router2 = 10.70.223.97/31
on router2 there is an admin ACL permit 10.64.95.0 0.0.0.255
so I can't only SSH router2 from that range.
How can I ssh router2 from router1 ?
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.
Sign up to join this communityMake sure router 1 is advertising connected routes to router 2. Create a loopback interface on router 1 with an IP in that range. For example
interface loopback 0
ip address 10.64.95.66 255.255.255.255
Use the loopback as the source interface for ssh
ip ssh source-interface loopback 0