[Script] ssh-add dropping keys when xscreensaver blanks

Andrew Stribblehill a.d.stribblehill at durham.ac.uk
Wed Feb 28 21:59:08 EST 2001


Quoting Damien Miller <djm at mindrot.org>:
> On Wed, 28 Feb 2001, Andrew Stribblehill wrote:
> 
> > Quoting Damien Miller <djm at mindrot.org>:
> > > On Tue, 27 Feb 2001, Andrew Stribblehill wrote:
> > >
> > > > The people at Debian were chuntering that it'd be a good idea for
> > > > xscreensaver to ask ssh-add to drop its keys when it blanked the
> > > > screen. Would the attached script (which does just that) be worth
> > > > adding to the contrib directory?
> 
> I like the concept, but I don't like how it only adds the default protocol
> 1 key. Could you get it to parse the output of "ssh-add -l" to pick up
> the other keys too?

I'm not sure I can, since it can't find out the filename (or
hostname, for that matter) from which the keys are read. Or is
there something I'm missing. I was expecting that people using
this script would hack it themselves to get it to add their extra
keys.

Cheerio,

Andrew Stribblehill





More information about the openssh-unix-dev mailing list