Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Source based SSH

Hi, I have 6506 switch having 10 L3 vlans. I want to ssh on any router from this 6509 switch. My requirement is, I want to use different differnet vlan for SSH as a source. I m getting the feature in telnet like telnet x.x.x.x /source-interface. But I am not getting any option in SSH.

Please help how can I do it?

7 REPLIES
New Member

Re: Source based SSH

ip ssh source-interface

Re: Source based SSH

Hi, I have 6506 switch having 10 L3 vlans. I want to ssh on any router from this 6509 switch. My requirement is, I want to use different differnet vlan for SSH as a source. I m getting the feature in telnet like telnet x.x.x.x /source-interface. But I am not getting any option in SSH.

Please help how can I do it?

Hi Rupesh,

for ssh support also you should have crypto ios image in your switches, configure the following command in switches ip ssh source-interface " interface or vlan "

If helpful do rate the post

Ganesh.H

New Member

Source based SSH

hello, found this post which is now related to my problem, i am using the ssh source interface command on my 6509-E but when i am doing copy runn scp; the packets are not taking the specified source interface ip, i am using  Version 12.2(18)SXF8, could it be the bug or am i missing some thing?

Thanks.

Zeeshan A.

Source based SSH

AFAIK, there's no command to manipulate the source of SCP copies, so it will be based on the RIB lookups, i.e. the best outgoing interface in accordance with 'sh ip route will be chosen as the outgoing interface.

HTH,

Ivan.

New Member

Source based SSH

The ip ssh source-interface commad did work on other switches and routers like 3500/3700/2800 Coz without this comand the scp was not talking the desired source IP and worked when i used this command, but it didnt work for 6509.any clue?

Source based SSH

Hi Zeeshan,

you're right, it works this way.

But due to CSCse79611 it is broken from 12.2(18)SXF5 onwards and works again in 12.2(18)SXF9

I hope this helps!

Ivan.

New Member

Source based SSH

Perfect! i will try to upgrade.

Thanks for Help.

Zeeshan

17948
Views
15
Helpful
7
Replies
CreatePlease to create content