[launchd-dev] Obtaining the value of SSH_AUTH_SOCK in an entry?

Hamish Allan hamish at gmail.com
Thu Mar 27 12:13:31 PDT 2008


On Thu, Mar 27, 2008 at 3:31 PM, Chris Cleeland
<chris.cleeland at gmail.com> wrote:

>  According to empirical evidence, though, the ssh spawned by launchd
>  isn't inheriting SSH_AUTH_SOCK

The answer to this question is in the archives... I know because I was
the one that asked it!

Your launchd agent must run in the Aqua context, which it should if
it's installed in [~]/Library/LaunchAgents, or if you supply '-S Aqua'
as an argument to launchctl.

Best wishes,
Hamish


More information about the launchd-dev mailing list