[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh setup: what is the Debian way?



On Sun, 8 Apr 2007 08:47:03 -0400
Roberto C. Sánchez <roberto@connexer.com> wrote:

> On Sat, Apr 07, 2007 at 08:26:23PM -0600, Paul E Condon wrote:
> > Debian automagically starts ssh-agent somewhere along the chain of
> > events that bring up X and Gnome.  I don't reboot often, but when I
> > do, I forget to run ssh-add.  Where can I place an invocation of
> > ssh-add so that it is run once just after login? I think there must be
> > a Debianly correct answer. What is it?
> > 
> Use the keychain package.  You edit your ~/.bash_profile (or something
> like that; I forget, but I can look it up later if you want) to add a
> few lines.  Whenever you log in, it asks you to enter your ssh and/or
> gpg pass phrases.

IIUC, since he's using ssh-agent he doesn't need keychain, just a place
to call ssh-add, which can be ~/.bash_profile or wherever.

Celejar



Reply to: