|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Tue, May 09, 2006 at 02:29:48PM +0100, Michael Stillwell wrote: > I use this, together this a shell script, to run ssh-agent: I set > SSH_AUTH_SOCK to /tmp/$USER/agent via environment.plist, and then, via > the shell script that runs at login, hard link the ssh-agent-generated > directory (seems to be random) to /tmp/$USER/agent. ssh-agent -a $SSH_AUTH_SOCK No need for hard links and other ingeniuous hacks. :) > (Would be interested to know if there are any issues--security or > otherwise--to this approach. Does ssh-agent generate "random" > directory names to avoid collisions, or is there also a security > reason?) Make sure the directory is yours, only readable and writable by you, and empty, before running ssh-agent. I'd assume ssh-agent does that checks by itself, but I never checked. -- lfr 0/0
Description: PGP signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>Login item environment variable help... (From: Benjamin Donnachie <email@hidden>)|
|>Re: Login item environment variable help... (From: "Michael Stillwell" <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.