Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: ssh-agent and ssh-add automatically

From: Stephane Bortzmeyer <bortzmeyer(at)nic.fr>
Date: Wed Dec 18 2002 - 04:39:53 EST

On Tue, Dec 17, 2002 at 10:49:19AM +0200,  David Danovich <David.Danovich@huji.ac.il> wrote  a message of 28 lines which said:

> and everything works fine. The problem is that every time I open a new

You should run ssh-agent only once when you log in, typically in the ~/.xsession (Debian handles it automatically, starting the ssh-agent before running .xession, but it is trivial to add). I suggest in ~/.xsession (I assume you run X11):

ssh-agent my-favorite-window-manager
ssh-add < /dev/null

If you do not run X11, the simplest thing to do:

eval `ssh-agent`
ssh-add

for each session. Received on Wed Dec 18 12:10:33 2002

Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library