11-26-2015 10:50 PM - edited 03-08-2019 02:52 AM
Hi,
I do a ssh session to a remote catalyst. Now I want open another ssh session from that device to a neigbhor 192.168.1.27
I configure on the ssh device 192.168.1.1 as secondary on a vlan 5 interface I can ping 192.168.1.27 with advanced ping from source 192.168.1.1
What will be happens if I configure ip ssh source-interface vlan 5, do I lost my actual ssh session immediately ????
Or is this the way to get hop-by-hop access to 192.168.1.27 Please remind the first step is that I come via ssh from 10.51.1.x
Any answer appreciated
11-26-2015 11:16 PM
The command "ip ssh source-interface" controls the sessions that are initiated *from* your switch/router. They don't change how you ssh to that device. That is still controlled by access-lists/access-classes.
11-26-2015 11:35 PM
thx,
important to me is from that device. ssh from 10.x.x.x in that device is ok, then from that device I'll jump ssh 192.168.1.x via specific interface vlan 5
When I conf i ip ssh source-interface vlan 5, do I lost my ssh connection via 10.x.x.x or not ?
11-26-2015 11:56 PM
no, your actual ssh-session should not be affected.
11-27-2015 12:31 AM
great thx
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide