On Sun, Sep 06, 2015 at 12:43:51PM +0200, Francis Moreau wrote:
> How is this handled ? Should we put a big warning in sshd_config to hint
> user to configure ListenAddress in sshd.socket in the case socket
> activation is used ?

> Or should sshd simply ignore all listening addresses defined in sshd_config
> when in socket activation mode ?

That would be my preferred solution. I may be missing something important here,
but I'd always assumed that sshd wouldn't need to worry about the listen
address if something else was accepting the connections on the socket.

As another alternative though, you could consider the sshd_config file the
canonical location for the listen address, and have a generator parse
sshd_config, and write a drop-in snippet for sshd.socket to set the
ListenAddress.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to