On Thu, Apr 04, 2002 at 07:38:30PM -0600, Clay Fandre wrote: > Chad C. Walstrom wrote: > >Just a tip for using ssh-agent(1) effectively in BASH(1). If you take > >advantage of functions, you can reduce the number of ssh-agent's you > >have running on any one system to one per host. An added advantage is > >that if you can refresh/set the ssh-agent environment with any open > >shell on that host. > > I'd suggest using keychain. It automatically takes care of all of this > for you. > http://www.gentoo.org/projects/keychain/ Or if you're a Debian user, add the line "use-ssh-agent" to /etc/X11/Xsession.options. ssh-agent will start for you before you get into X[1]. Nate [1] I know, not everyone uses X, but if you do, IMHO, this is the easiest way to get ssh-agent working.