Subject: Re: bin/30270: ssh-askpass path hardcoded into ssh-add
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 05/18/2005 09:23:02
The following reply was made to PR bin/30270; it has been noted by GNATS.

From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: geert.hendrickx@ua.ac.be
Cc: gnats-bugs@netbsd.org
Subject: Re: bin/30270: ssh-askpass path hardcoded into ssh-add
Date: Wed, 18 May 2005 11:21:57 +0200

 --rK9cUJk4ANtwQkTL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, May 18, 2005 at 09:11:00AM +0000, geert.hendrickx@ua.ac.be wrote:
 > >Synopsis:       ssh-askpass path hardcoded into ssh-add
 > >Description:
 > I have ssh-askpass installed into /usr/pkg/bin/ssh-askpass (from
 > pkgsrc).  ssh-add in X says:=20
 >=20
 > ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or
 > directory
 >=20
 > /usr/src/crypto/dist/ssh/pathnames.h has this path hardcoded. =20
 > >How-To-Repeat:
 > have pkgsrc/security/ssh-askpass installed, and do "ssh-add <
 > /dev/null" with DISPLAY variable set. =20
 > >Fix:
 > /usr/src/crypto/dist/ssh/pathnames.h has the path hardcoded.  Change
 > the path, or make it user-definable, or just look it up in $PATH. =20
 
 from ssh-add(1):
 
 ENVIRONMENT
      DISPLAY and SSH_ASKPASS
        If ssh-add needs a passphrase, it will read the passphrase from
        the current terminal if it was run from a terminal.  If ssh-add
        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 particularly useful when calling ssh-add 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.)
 
 did you define SSH_ASKPASS?
 
 
 regards,
 
 --=20
 -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --
 
 --rK9cUJk4ANtwQkTL
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)
 
 iD8DBQFCiwk1iwjDDlS8cmMRAmp8AKCTlnKqjUM2xPEkqwu0Bg9gTtEVVwCcDgkl
 S+eSCSYCYeIKNjCRnW3PBTw=
 =ET7w
 -----END PGP SIGNATURE-----
 
 --rK9cUJk4ANtwQkTL--