[PATCH] ssh-agent: add systemd socket-based activation

Demi Marie Obenour demiobenour at gmail.com
Wed Jun 21 02:11:25 AEST 2023


On 6/19/23 20:20, Damien Miller wrote:
> 
> On Fri, 16 Jun 2023, Ronan Pigott wrote:
> 
>> This adds support for systemd socket-based activation in the ssh-agent.
>> When using socket activation, the -a flag value must match the socket
>> path provided by systemd, as a sanity check. Support for this feature is
>> enabled by the --with-systemd configure flag.
>>
>> ---
>> Something tells me upstream would not be interested in this patch, but
>> as it may be useful on linux, I'm submitting it here.
> 
> yeah - unfortunately libsystemd is under the LGPL and we've tried hard
> to keep our license free of additional obligations.

Would a version that reimplemented sd_listen_fds(3) be okay?
sd_listen_fds(3) is just a convenience function.  The actual protocol
is independent of both libsystemd and of systemd itself.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB288B55FFF9C22C1.asc
Type: application/pgp-keys
Size: 4885 bytes
Desc: OpenPGP public key
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20230620/1fcd9573/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20230620/1fcd9573/attachment.asc>


More information about the openssh-unix-dev mailing list