[systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

Mantas Mikulėnas grawity at gmail.com
Tue Jun 19 10:53:46 PDT 2012


On Tue, Jun 19, 2012 at 8:40 PM, Alexander E. Patrakov
<patrakov at gmail.com> wrote:
> 2012/6/19 Lennart Poettering <lennart at poettering.net>:
>> On Tue, 19.06.12 18:50, Michael Olbrich (m.olbrich at pengutronix.de) wrote:
>>
>>> Hi,
>>>
>>> On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote:
>>> > On Mon, 18.06.12 21:56, Paul Menzel (paulepanter at users.sourceforge.net) wrote:
>>> > >
>>> > > Do you know of a service file for openssh-server?
>>> >
>>> > The Fedora packages have some, but I don't like them too much since they
>>> > don't use socket activation...
>>>
>>> Is someone actually working on real socket activation for openssh? While
>>> the inetd like stuff works, it does not perform well.
>>
>> it doesn't? In which way? It should be totally OK?
>
> IMHO there is one "issue" with the inetd-style approach: it is
> explicitly discouraged in "man sshd". It may well be the case of
> outdated documentation, as I don't see any of the indicated problems
> on my desktop or laptop. Still, it would be nice to clarify this
> discrepancy in the unit file.

The documentation is incomplete. The ephemeral key is only generated
if SSHv1 is enabled, while practically every installation now has
"Protocol 2" set.

-- 
Mantas Mikulėnas


More information about the systemd-devel mailing list