source IP|interface

Damien Miller djm at mindrot.org
Mon Jun 26 19:50:22 EST 2000


On Mon, 26 Jun 2000, Philipp Buehler wrote:

> Hello,
> 
> I stumbled across that it seems not to be possible to 
> define the source-IP|interface wihch the sshclient uses.
> [like ping -I eth1 on linux or similar] ..

No as yet, though you are not the first to ask.

> Any workaround? I have some weird ipsec setup and need to define
> source addresses..

A quick workaround may be to use a ProxyCommand (see ssh manpage)
which does a bind() to a specified IP address before connecting.

Regards,
Damien Miller

-- 
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)








More information about the openssh-unix-dev mailing list