[Novalug] Ubuntu 8.04 & ssh-add ?
Tom Rhodes
trhodes@FreeBSD.org
Fri Jun 6 00:02:16 EDT 2008
On Fri, 6 Jun 2008 15:24:21 +1200
Mark Smith <mark@winksmith.com> wrote:
> i have never seen that, but you can avoid a popup easy enough by
> just unsetting DISPLAY while running it:
>
> DISPLAY= ssh-add
>
> or by avoiding reading from stdin:
>
> ssh-add < /dev/null
>
> my experience is somewhat dated, but iirc, ssh-add is supposed to
> cause a popup only when DISPLAY is set and stdin is unavailable.
> clearly, something else is going on nowadays.
>
> good luck.
It's because he probably has a GUI client installed to accept
the passphrase, similar to pinentry which I use for GPG and my mail
client. I believe there is a GNOME ssh-askpass utility that provides
this functionality for ssh. Oh, and "keychain" is another
utility that does this IIRC.
>
> On Thu, Jun 05, 2008 at 09:53:46PM -0400, Nick Danger wrote:
> > If I run ssh-add in a terminal window I get prompted for my ssh
> > passphrase not only on the command line, but also via a graphical popup.
> > Either one will add it to my agent, and if I type the phrase twice, I
> > get the key loaded twice into my agent. Seems weird to me, and I don't
> > remember this happening with 7.10.
> >
> > Anyone else noticed this or do I have a setting wrong somewhere?
>
> --
> Mark Smith
> mark@winksmith.com
> mark@tux.org
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
--
Tom Rhodes
More information about the Novalug
mailing list