Jeff Abrahamson on 26 May 2004 16:29:02 -0000


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

Re: [PLUG] ssh oddity (continued)


On Wed, May 26, 2004 at 11:58:06AM -0400, Paul L. Snyder wrote:
>   [20 lines, 111 words, 957 characters]  Top characters: _entsoil
> 
> Quoting Jeff Abrahamson <jeff@purple.com>:
> 
> > The man page for ssh-add also tells me that I can do much more
> > sophisticated key management: I can delete keys from the agent, add
> > them with expiration, and even password protect (temporarily turn off)
> > the agent.  Very cool.
> 
> This isn't actually relevant to your just-resolved problem, but there's a nice
> wrapper script for ssh-agent called keychain which is convenient in some cases.
>  It lets you conveniently reuse an established ssh-agent between different
> logons on the same machine, saving retyping of passphrases on machines you control.
> 
> http://www.gentoo.org/proj/en/keychain.xml

Or at the command line, this bit of bash does that, too:

    ssh-reagent ()
    {
	eval `ps ewx | grep ssh-agent | tr ' ' '\n' | \
	    grep SSH_ | sort -u | awk '{ print "export " $0; }'`;
    }

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

 A cool book of games, highly worth checking out:
 http://www.amazon.com/exec/obidos/ASIN/1931686963/purple-20

Attachment: signature.asc
Description: Digital signature