[Bug 500] show how to start-up ssh-agent by default...

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Mar 6 01:12:41 EST 2003


hauser at acm.org changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |VERIFIED

------- Additional Comments From hauser at acm.org  2003-03-06 01:12 -------

Thanks for the hint. Unfortunately, your suggestion in
http://bugzilla.mindrot.org/show_bug.cgi?id=500#c5 appears not to work because
in my case, ssh-agent doesn't remove the SSH_AUTH_SOCK file when it dies/gets
Thus, next time I log in (e.g. after a re-boot), the socket/file is still there,
but no ssh-agent available in memory nor will it be started.

It appears that 
SSH_AGENT_RUNNING=`ps x | grep 'ssh-agent' |grep -v grep`
if [ "$SSH_AGENT_RUNNING" = "" ]; then
[ -S $SSH_AUTH_SOCK ] || eval `ssh-agent -sa $SSH_AUTH_SOCK`
[ -z "$SSH_AGENT_PID" ] || ssh-add -l >/dev/null 2>&1 || ssh-add>>
is working.

Furthermore, I am confused that you discarded this documentation enhancement
suggestion as "invalid".
To me, it appears that you have built an outstanding software with OpenSSH, but
for a JoeAnyUser like myself, it is overly hard to get started with it.
Assuming that you and your community do care about improving the daily security
practices and behaviour of the average users out there, I contend that improving
the documentation is by far the cheapest approach to boost more widespread
adoption of this wonderful product.
In this light, I also suggest not to discard simple and really cheap to
implement convenience features to the website such as a search function (see
http://bugzilla.mindrot.org/show_bug.cgi?id=478) - for us JoeAnyUsers, things
like that matter!

Anyway, once I get around it to convert my ssh-agent man-page extension
suggestion from html to troff's *.1
(http://bugzilla.mindrot.org/show_bug.cgi?id=481), I'll mention the conclusion
of this discussion here too and I hope not to delay/bore the experts too much
with that    :)


------- 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