Re: ssh -b bind_address not working?

From: Richard E. Silverman (res_at_qoxp.net)
Date: 06/29/05


Date: 29 Jun 2005 03:46:22 -0400


>>>>> "AB" == andreas brand <andreas.brand@gmx.ch> writes:

    AB> Hi Richard Thank you for the answer, i have to admit I don't
    AB> understand exactly what you mean with "local endpoint for its TCP
    AB> connection". Is this just for setting the source address in the IP
    AB> Header?

That's what it will end up doing, yes, assuming the address you indicate
is actually assigned to an active interface on the host.

    AB> Well, according to the ssh manual I understand it should
    AB> also use the interface:

    AB> -b bind_address = Specify the interface address to transmit from
    AB> on machines with multiple interfaces or aliased addresses.

This is misleading and should be rewritten. The -b option does not select
an interface directly; it selects a source IP address.

    AB> It seems I misunderstood the manual, surely because english (and
    AB> tcp/ip) is not my mother-tongue ;-)

No; in this case, I think the man page should be changed.

-- 
  Richard Silverman
  res@qoxp.net


Relevant Pages

  • Re: ng_one2many v.s. AFT (NIC Fault Tolerance/Fail Over/Redundancy Revisited)
    ... > hosts weren't seeing the usual warnings about MAC address changes. ... regardless of what network segment/port a host ... > physical interface ifconfig'd with the IP. ... > tree root and switch 1 is the backup spanning tree root. ...
    (freebsd-questions)
  • Re: cant ping or telnet to or from a cat 3550
    ... Logging is enabled but shows nothing at all other than a couple ... Interface FastEthernet0/18, changed state to down ... I am trying to ping from a host on Vlan 9, ... from the switch which also does not work. ...
    (comp.dcom.sys.cisco)
  • Re: Point-to-Point links - route IP Block with DSL
    ... Subnet mask: 255.255.255.248 ... I can see from above that if the route table fails to find ... Yes, it is a host route, with no subnet. ... the PPP interface gets all traffic from your ...
    (comp.os.linux.networking)
  • Proxy ARP and Routing
    ... some CPE from our ISP connected to a firewall. ... the public IPs on the physical DMZ network. ... packets to the host on the DMZ? ... on the DMZ interface. ...
    (SunManagers)
  • Re: Zeroconfig and Multicast DNS
    ... Apple's primary consumer base for Zeroconf systems doesn't normally have to deal with multi-homed systems; so it probably isn't much of a priority for them. ... I suspect that the decision was made fairly early to only support it on one interface at a time. ... That section covers the merging of two previously disjoint networks, ... for the case of connecting a multihomed host which is bridging them, ...
    (freebsd-net)