[Bug 500] show how to start-up ssh-agent by default...
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Mon Feb 24 12:43:52 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=500
------- Additional Comments From djm at mindrot.org 2003-02-24 12:43 -------
I think that:
[ -z "$SSH_AUTH_SOCK" ] && eval `ssh-agent -s`
[ -z "$SSH_AGENT_PID" ] || ssh-add -l >/dev/null 2>&1 || ssh-add
Is as effective and a lot more concise.
On the other hand, fragile heuristics like:
> export SSH_AUTH_SOCK=`ls /tmp/ssh-*/agent.$SSH_AUTH_PID`
have no place in our documentation.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list