On Sat, 08 Nov 2003, David Taylor wrote:
> 
> Have you tried binding it to the address on the interface which
> your host will send packets to the remote host over?

Erm, wait, I don't know what I was thinking there.  ssh doesn't let you
specify the local address it binds to.  All I can say is it works here...

However, changing the address on lo0 to 10.9.9.9 results in:

debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 8000.
bind: Can't assign requested address

But:

# ifconfig lo0 inet 127.0.0.1
$ ssh -L8000:www.freebsd.org:80 [host]

gives

[snip]
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 8000.
debug1: fd 5 setting O_NONBLOCK
debug2: fd 5 is O_NONBLOCK
debug1: channel 1: new [port listener]

So, it could be an idea to check the output of ifconfig lo0.

-- 
David Taylor
[EMAIL PROTECTED]
"The future just ain't what it used to be"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to