[xmonad] darcs patch: add SshAgent module, to start ssh-agent when needed.

Thomas Adam thomas.adam22 at gmail.com
Mon Mar 31 17:30:16 EDT 2008


On 31/03/2008, David Roundy <droundy at darcs.net> wrote:
> On Mon, Mar 31, 2008 at 10:47:46PM +0200, Matthias Kilian wrote:
>  > > Jamie's approach isn't truly general: if anything happens to that
>  > > ssh-agent, then you're up the creek without a paddle.
>  >
>  > Little bit OT, but did this *ever* happen to you?
>
>
> I don't know.  I do know that the last time I started X, I had
>
>  ssh-agent xmonad
>
>  in my .vncrc/xstartup which had the result that when xmonad restarted, the
>  ssh-agent disappeared.  The SshAgent module allows me to rectify the
>  situation without restarting my vncserver.

I really fail to see what this has to do with a window manager.   As
has been pointed out:

eval $(ssh-agent -s)

Really is an adequate solution, and has worked for me for years.   Why
it doesn't work for you, I don't know, although polluting xmonad with
it seems wrong to me.

-- Thomas Adam


More information about the xmonad mailing list