The default debian netinstall does not come with ssh-askpass, and there is
no reason it should be necessary if one just installs keychain.

Since ssh-add appears to look for 'ssh-askpass' (I don't suspect it's
looking for /usr/bin/ssh-askpass' explicitly, but maybe it is) when
SSH_ASKPASS is not set, the correct test in the noguiopt test would be:

        if [ -z "$SSH_ASKPASS" ] && which ssh-askpass > /dev/null ; then
            SSH_ASKPASS=`which ssh-askpass` ; export SSH_ASKPASS
        fi
        if $noguiopt || [ -z "$SSH_ASKPASS" ] || [ -z "$DISPLAY" ] ; then

This fixes 324950 in that if ssh-askpass is installed, but the user hasn't
set SSH_ASKPASS, it still gets used.  And it fixes the newly introduced
325644, since when it is not installed, that is still tested for, as it
was originally.

I have not tested this, but it's basically the same as a fix I made to my
own private copy of keychain.

-- 
Tim Connors                  |  Anglo-Australian Observatory
http://site.aao.gov.au/twc   |  Coonabarabran, NSW 2357, Australia
                             |  Tel: +61 2 6842 6286



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to