https://bugzilla.mindrot.org/show_bug.cgi?id=2411
Damien Miller <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #1 from Damien Miller <[email protected]> --- This can be done by checking the $SSH_AGENT_PID and $SSH_AUTH_SOCK environment variables already. E.g. in .bash_profile (or equivalent) test -z "$SSH_AUTH_SOCK" && eval `ssh-agent` ... and in .bash_logout: test -z "$SSH_AGENT_PID" || kill $SSH_AGENT_PID This typically does what the user wants: start and agent if no agent exists already (e.g. by being forwarded or started by a desktop session), but only kill an agent that was started within the session. I don't therefore think it necessary to implement this in ssh-agent itself. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
