Le 16/09/2017 à 13:03, Florian Zieboll a écrit :
> On Fri, 15 Sep 2017 23:43:34 -0400
> Steve Litt <slitt@???> wrote:
>
>> Is it just me, or does ssh-agent interacting with dbus seem like a
>> horrible idea?
>
> IIUC, they are only interacting insofar, that the ssh-agent will
> terminate as soon as (in this case) dbus(-launch) exits.
>
> From the manpage:
>
> | SYNOPSIS
> | ssh-agent [-c | -s] [-d] [-a bind_address] [-t life] [command [arg ...]]
> |
> | (...)
> |
> | If a commandline is given, this is executed as a subprocess of the
> | agent. When the command dies, so does the agent.
>
>
I think the principle is that the ssh agent is the mother of all
processes in the session, so that they all inherit the environment
variable SSH_AGENT_PID.
Didier