cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20879
Views
5
Helpful
4
Replies

ssh source interface

steffenplorin
Level 1
Level 1

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

4 Replies 4

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.

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 ?

no, your actual ssh-session should not be affected.

great thx