RE: bindaddress

From: Samimi, Ashkan (Contractor) (
Date: 03/21/03

  • Next message: David Ishmael: "SSH RSA Authentication"
    Date: Fri, 21 Mar 2003 12:07:40 -0000
    From: "Samimi, Ashkan (Contractor)" <>
    To: "Ben Lindstrom" <>


    Thanks for the answer. The -g option binds the forwarded port to ALL
    available IPs on the PC/SERVER. I wanted to have this bind be selective.
    i.e. bind the local forwarded port xxxx to IP and bind
    local forwarded port yyyy to IP yyy.yyy.yyy.yyy

    I don't think it's possible!!??


    -----Original Message-----
    From: Ben Lindstrom []
    Sent: 20 March 2003 21:39
    To: Samimi, Ashkan (Contractor)
    Subject: Re: bindaddress

    On Thu, 20 Mar 2003, Samimi, Ashkan (Contractor) wrote:

    > Hi,
    > I'm having problems using the "-b" option with ssh. the command:
    > ssh -b -v -v -v -N -L 139:
    > will bind to the local host instead of specified IP address (-b
    > debug1: Connections to local port 139 forwarded to remote address
    > debug1: Local forwarding listening on port 139.
    > What do I do wrong?

    Your usage of -b. -b does not affect -L. -b is for selecting what your
    *OUTBOUND* address will be. Are you looking for -g option?

        -g Allows remote hosts to connect to local forwarded ports.

    - Ben

  • Next message: David Ishmael: "SSH RSA Authentication"