On Wed, 25 Jun 2014 06:57:21 -0500
John McKown <john.archie.mck...@gmail.com> wrote:

> What I do use over the Internet, again on Linux, is to use the
> "ssh-add" command on my desktop. What this does is cache the SSH
> credentials so that I am asked for them only once, when I do the
> ssh-add. Thereafter, each ssh (or ssh user such as git) uses the
> cached credentials and doesn't ask me for them. The ssh-add can use a
> time parameter to indicate how long to cache the credentials. What I
> do at work is a command like:   "ssh-add -t 8h ~/.ssh/server" This
> caches the credentials for ~/.ssh/server for 8 hours. By which time,
> I am heading home. To "undo" an ssh-add, you can do "ssh-add -d
> ~/.ssh/server" to immediately remove the credentials for the
> "server". Oh, in this case, each ssh session is separate. It is just
> easier to use because you're not typing in the server's SSH
> passphrase all the time.

I should add that on a typical GNU/Linux GUI desktop (GNOME, XFCE at
least) gnome-keyring might be installed which, with the support of
DE's session manager, will make that keyring prompt for the user's SSH
keys and cache them.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to