Re: listening on network interface instead on ip addr.
From: Pontus Skoeld (pont_nyscss@soua.net)
Date: 03/14/03
- Next message: Neil W Rickert: "Re: listening on network interface instead on ip addr."
- Previous message: m@thedigitalmachine.com: "Re: Using a proxy with PLink+TortoiseCVS"
- In reply to: Richard E. Silverman: "Re: listening on network interface instead on ip addr."
- Next in thread: Neil W Rickert: "Re: listening on network interface instead on ip addr."
- Reply: Neil W Rickert: "Re: listening on network interface instead on ip addr."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Pontus Skoeld <pont_nyscss@soua.net> Date: 14 Mar 2003 16:41:19 +0100
slade@shore.net (Richard E. Silverman) writes:
> 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.
Evidently I should've been clearer about this.
Depending on his OS, the poster could possibly first start his sshd
listening on his local IP, and when let the second instance
just bind 0.0.0.0. If that doesn't work, he could always rewrite his
startup script to pass -o 'ListenAddress <ADDRESS_NOW>' to sshd when
started, which would probably be sufficient.
If his provider is truly evil, e.g. the DHCP server won't prolong the
lease but forces him to use a new IP (which is very uncommon and
unlikely, AFAIK), he might hook into his DHCP client, starting a new
sshd with the appropriate address to listen to whenever he acquires a
new lease.
(And when dealing with IP services, an interface is an IP address,
IMO).
/Pontus
-- Pontus Sköld, see <URL:http://soua.net/> for more information.
- Next message: Neil W Rickert: "Re: listening on network interface instead on ip addr."
- Previous message: m@thedigitalmachine.com: "Re: Using a proxy with PLink+TortoiseCVS"
- In reply to: Richard E. Silverman: "Re: listening on network interface instead on ip addr."
- Next in thread: Neil W Rickert: "Re: listening on network interface instead on ip addr."
- Reply: Neil W Rickert: "Re: listening on network interface instead on ip addr."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]