×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Source based SSH

Unanswered Question
Feb 12th, 2010
User Badges:

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?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Ganesh Hariharan Fri, 02/12/2010 - 23:48
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

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

zeeshan.ah@gmail.com Sun, 09/25/2011 - 05:32
User Badges:

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.

Ivan Krimmel Sun, 09/25/2011 - 05:38
User Badges:
  • Gold, 750 points or more

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.

zeeshan.ah@gmail.com Sun, 09/25/2011 - 05:47
User Badges:

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?

Ivan Krimmel Sun, 09/25/2011 - 06:17
User Badges:
  • Gold, 750 points or more

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.

Actions

This Discussion