15 Nov
2007
15 Nov
'07
6:38 p.m.
On Nov 15, 2007, at 9:45 AM, Hamish Allan wrote:
On Nov 15, 2007 5:16 PM, Dave Zarzycki <zarzycki@apple.com> wrote:
This is all context sensitive. Right now, the ssh-agent is only loaded into the GUI login context. The environment variable it exports is only available to the jobs associated with that session.
Where are you installing your plist?
~/Library/LaunchAgents
If you're loading it by hand, what arguments are you passing to the 'launchctl' tool?
No arguments. I just tried passing '-S LoginWindow' but it reports 'nothing found to load' (even if I give it the full path of my .plist file).
That makes some amount of sense. The 'ssh-agent' job isn't configured to run in the LoginWindow context, and neither is your job's plist. davez