Re: listening on network interface instead on ip addr.

From: Richard E. Silverman (slade@shore.net)
Date: 03/14/03


From: slade@shore.net (Richard E. Silverman)
Date: 14 Mar 2003 09:45:10 -0500


>>>>> "PS" == Pontus Skoeld <pont_nyscss@soua.net> writes:

    PS> "m96" <m96@gmx.li> writes:
>> i just wanted to know if it's possible to letting ssh listen on a
>> specific networking interface instead of ip addresses?

    PS> Assuming OpenSSH/Sun SSH: man sshd_config, search for
    PS> ListenAdress.

If you do this yourself, you will see that ListenAdress only allows you to
specify a hostname or address, not an interface as the poster is asking.

OP, OpenSSH doesn't do what you want -- I would have it bind to 0.0.0.0,
and use a packet filter to limit access to the appropriate interface.

-- 
  Richard Silverman
  slade@shore.net


Relevant Pages

  • Re: listening on network interface instead on ip addr.
    ... > If you do this yourself, you will see that ListenAdress only allows you to ... > specify a hostname or address, not an interface as the poster is asking. ... the poster could possibly first start his sshd ... new lease. ...
    (comp.security.ssh)
  • Detecting which networking interface received a UDP multicast packet.
    ... I need to detect which networking interface a UDP multicast packet is being heard over on Win2000 and WinXP. ... I am trying to use WSARecvMsg() to retrieve the interface on which the packet was received. ...
    (microsoft.public.win32.programmer.networks)
  • Re: IP configuration on my firewall
    ... networking interface on 192.168.1.x and the GREEN networking interface ... When I try to join the GREEN interface from a client, I can "ping" the ...
    (comp.os.linux.networking)
  • IP configuration on my firewall
    ... networking interface on 192.168.1.x and the GREEN networking interface ... When I try to join the GREEN interface from a client, I can "ping" the ...
    (comp.os.linux.networking)