RE: bindaddress
From: Samimi, Ashkan (Contractor) (SamimiA@bp.com)
Date: 03/21/03
- Previous message: Alf Nicolaysen: "RhostsAuthentication under AIX 4.3.3"
- Maybe in reply to: Samimi, Ashkan (Contractor): "bindaddress"
- Next in thread: Ben Lindstrom: "RE: bindaddress"
- Reply: Ben Lindstrom: "RE: bindaddress"
- Reply: Markus Friedl: "Re: bindaddress"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 21 Mar 2003 12:07:40 -0000 From: "Samimi, Ashkan (Contractor)" <SamimiA@bp.com> To: "Ben Lindstrom" <mouring@etoh.eviladmin.org>
Ben,
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 xxx.xxx.xxx.xxx and bind
local forwarded port yyyy to IP yyy.yyy.yyy.yyy
I don't think it's possible!!??
Ashkan.
-----Original Message-----
From: Ben Lindstrom [mailto:mouring@etoh.eviladmin.org]
Sent: 20 March 2003 21:39
To: Samimi, Ashkan (Contractor)
Cc: secureshell@securityfocus.com
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 149.182.115.189 -v -v -v -N -L 139:149.182.118.90:139
samimia@149.182.115.171
>
> will bind to the local host instead of specified IP address (-b
149.182.115.189).
>
> debug1: Connections to local port 139 forwarded to remote address
149.182.118.90:139
> debug1: Local forwarding listening on 127.0.0.1 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
- Previous message: Alf Nicolaysen: "RhostsAuthentication under AIX 4.3.3"
- Maybe in reply to: Samimi, Ashkan (Contractor): "bindaddress"
- Next in thread: Ben Lindstrom: "RE: bindaddress"
- Reply: Ben Lindstrom: "RE: bindaddress"
- Reply: Markus Friedl: "Re: bindaddress"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]