From: Ben Pfaff <blp@cs.stanford.edu>
To: linux-kernel@vger.kernel.org
Subject: Re: ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbus compile in -pre4))
Date: 09 Feb 2002 16:59:46 -0800 [thread overview]
Message-ID: <873d0acfst.fsf@pfaff.stanford.edu> (raw)
In-Reply-To: <E16ZhzF-0000ST-00@gondolin.me.apana.org.au> <3C65C4C5.C287A3@mandrakesoft.com>
In-Reply-To: <3C65C4C5.C287A3@mandrakesoft.com>
Jeff Garzik <jgarzik@mandrakesoft.com> writes:
> For those with multiple peer shells and no X-parented ssh-agent, you
> will need to run ssh-agent ONCE, like so:
>
> ssh-agent > ~/tmp/ssh-agent.out
>
> and then for each shell, you need to run:
>
> eval `cat ~/tmp/ssh-agent.out`
>
> and then run the ssh-add command from above.
I keep the following in my .bashrc and use the `agent' command to
initialize the ssh-agent.
# Allow `agent' to start the ssh-agent usefully on all running
# bash instances. SIGQUIT was chosen because it is ignored by
# bash by default, even in non-interactive shells, so that a
# shell not trapping it by some chance won't be terminated.
if test -f ~/.ssh/agent; then
. ~/.ssh/agent
fi
function agent {
killall -q ssh-agent
ssh-agent > ~/.ssh/agent
killall -QUIT bash >/dev/null 2>&1
ssh-add ~/.ssh/identity
ssh-add ~/.ssh/id_dsa
}
trap -- '. ~/.ssh/agent' SIGQUIT
--
"Be circumspect in your liaisons with women.
It is better to be seen at the opera with a man
than at mass with a woman."
--De Maintenon
next prev parent reply other threads:[~2002-02-10 1:00 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 2:25 [bk patch] Make cardbus compile in -pre4 Patrick Mochel
2002-02-09 3:39 ` Andreas Dilger
2002-02-09 4:02 ` Jeff Garzik
2002-02-09 7:29 ` Andreas Dilger
2002-02-09 7:41 ` Larry McVoy
2002-02-10 2:39 ` Jeff Garzik
2002-02-10 3:52 ` Linus Torvalds
2002-02-10 7:47 ` Andreas Dilger
2002-02-10 20:57 ` Linus Torvalds
2002-02-11 18:38 ` Andreas Dilger
2002-02-09 5:12 ` Larry McVoy
2002-02-09 5:32 ` Andrew Morton
2002-02-09 9:36 ` Rob Landley
2002-02-09 9:57 ` Momchil Velikov
2002-02-09 10:01 ` Alexander Viro
2002-02-09 18:09 ` Rob Landley
2002-02-09 15:08 ` Daniel Phillips
2002-02-10 4:07 ` Linus Torvalds
2002-02-09 10:14 ` David Lang
2002-02-09 15:54 ` Larry McVoy
2002-02-09 16:50 ` Tom Rini
2002-02-09 17:05 ` Larry McVoy
2002-02-09 21:01 ` David Lang
2002-02-09 21:41 ` Larry McVoy
2002-02-09 23:36 ` Andreas Dilger
2002-02-09 23:45 ` Tom Rini
2002-02-10 0:42 ` Andreas Dilger
2002-02-09 23:52 ` Larry McVoy
2002-02-10 4:13 ` Linus Torvalds
2002-02-10 18:02 ` Tom Rini
2002-02-10 5:25 ` William Stearns
2002-02-11 17:30 ` Padraig Brady
2002-02-13 11:59 ` Padraig Brady
2002-02-09 9:27 ` pull vs push (was Re: [bk patch] Make cardbus compile in -pre4) Rob Landley
2002-02-09 10:08 ` Andreas Dilger
2002-02-09 18:12 ` Stelian Pop
2002-02-09 20:59 ` Linus Torvalds
2002-02-09 20:12 ` Stelian Pop
2002-02-09 20:26 ` Larry McVoy
2002-02-09 20:51 ` Stelian Pop
2002-02-09 23:45 ` Jeff Garzik
2002-02-09 23:49 ` Larry McVoy
2002-02-09 20:57 ` Pau Aliagas
2002-02-09 21:07 ` David Lang
2002-02-09 21:13 ` Pau Aliagas
2002-02-09 21:45 ` Rob Landley
2002-02-10 0:19 ` Andreas Dilger
2002-02-10 0:36 ` Herbert Xu
2002-02-10 0:54 ` ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbus compile in -pre4)) Jeff Garzik
2002-02-10 0:59 ` Herbert Xu
2002-02-10 1:24 ` Jeff Garzik
2002-02-10 8:13 ` Herbert Xu
2002-02-13 17:13 ` Aaron Lehmann
2002-02-14 0:22 ` Rob Landley
2002-02-14 6:57 ` Aaron Lehmann
2002-02-14 11:00 ` Harald Arnesen
2002-02-10 0:59 ` Ben Pfaff [this message]
2002-02-10 1:14 ` David Lang
2002-02-10 1:22 ` ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbuscompile " Jeff Garzik
2002-02-10 2:46 ` pull vs push (was Re: [bk patch] Make cardbus compile in -pre4) Alan Cox
2002-02-11 11:51 ` Pavel Machek
2002-02-11 18:42 ` John Alvord
2002-02-09 11:44 ` [bk patch] Make cardbus compile in -pre4 Peter Osterlund
-- strict thread matches above, loose matches on Subject: below --
2002-02-14 13:50 ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbus compile in -pre4)) Jesse Pollard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873d0acfst.fsf@pfaff.stanford.edu \
--to=blp@cs.stanford.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.