trying to debug ssh-askpass problem
Frederik Eaton
frederik at ofb.net
Wed Jan 5 08:15:25 EST 2005
Thanks, that's helpful. What is the default? Is it documented? Is what
you just said documented? The man page seems to imply that SSH_ASKPASS
enables that feature (there is no other mention of any 'askpass'), can
it be changed to be clearer, e.g. to describe the default behavior
without SSH_ASKPASS set?
Thanks,
Frederik
On Tue, Jan 04, 2005 at 02:02:42PM +0100, Markus Friedl wrote:
> SSH_ASKPASS just overrides the default, it does not
> enable this feature.
>
> On Tue, Jan 04, 2005 at 03:06:52AM -0800, Frederik Eaton wrote:
> > Hi all,
> >
> > I have a script which calls ssh-add at a certain point, and I'm
> > getting the following error:
> >
> > ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
> >
> > I don't see why it's doing this, since SSH_ASKPASS isn't set, and
> > there should be a working terminal:
> >
> > SSH_ASKPASS
> > If ssh needs a passphrase, it will read the passphrase from the
> > current terminal if it was run from a terminal. If ssh does not
> > have a terminal associated with it but DISPLAY and SSH_ASKPASS
> > are set, it will execute the program specified by SSH_ASKPASS
> > and open an X11 window to read the passphrase. This is particu-
> > larly useful when calling ssh from a .Xsession or related
> > script. (Note that on some machines it may be necessary to
> > redirect the input from /dev/null to make this work.)
> >
> > How can I find out what is causing ssh-add to try to execute
> > ssh-askpass?
> >
> > Thanks,
> >
> > Frederik
> >
> > _______________________________________________
> > openssh-unix-dev mailing list
> > openssh-unix-dev at mindrot.org
> > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list