Subject: Re: bin/30270: ssh-askpass path hardcoded into ssh-add
To: None <salo@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 05/18/2005 13:05:05
The following reply was made to PR bin/30270; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: bin/30270: ssh-askpass path hardcoded into ssh-add
Date: Wed, 18 May 2005 09:04:49 -0400

 On May 18,  9:11am, geert.hendrickx@ua.ac.be (geert.hendrickx@ua.ac.be) wrote:
 -- Subject: bin/30270: ssh-askpass path hardcoded into ssh-add
 
 | >Number:         30270
 | >Category:       bin
 | >Synopsis:       ssh-askpass path hardcoded into ssh-add
 | >Confidential:   no
 | >Severity:       non-critical
 | >Priority:       medium
 | >Responsible:    bin-bug-people
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Wed May 18 09:11:00 +0000 2005
 | >Originator:     Geert Hendrickx
 | >Release:        netbsd-2
 | >Organization:
 | >Environment:
 | NetBSD mantis 2.0_STABLE NetBSD 2.0_STABLE (MANTIS) #4: Tue May 17 21:07:37 CEST 2005  geert@mantis:/usr/src/sys/arch/i386/compile/MANTIS i386
 | 
 | >Description:
 | I have ssh-askpass installed into /usr/pkg/bin/ssh-askpass (from pkgsrc).  ssh-add in X says: 
 | 
 | ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
 | 
 | /usr/src/crypto/dist/ssh/pathnames.h has this path hardcoded.  
 | >How-To-Repeat:
 | have pkgsrc/security/ssh-askpass installed, and do "ssh-add < /dev/null" with DISPLAY variable set.  
 | >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.  
 
 there is a $SSH_ASKPASS override according to the manual page.
 
 christos