Some time ago I (Max Bowsher) wrote: > I can now successfully share an ssh-agent between all > my shells, with it > starting with the first one, and ending with the last, > and no zombie windows > if I end shells in the wrong order.
Matt wrote: > I would like ssh-agent to function like you say it is > for you... but i can't understand what you did besides > obtain the latest versions which i should have.. what > else do i need to do? Some shell scripting. Attached are the shell scripts I *source* from my .bash_profile and .bash_logout. It's not a perfect system (if a shell is killed in such a way that .bash_logout doesn't execute, an agent process can remain), but it seems to work well for the most part. Max.
agent_refcount_start
Description: Binary data
agent_refcount_stop
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/