Subject: bin/30270: ssh-askpass path hardcoded into ssh-add
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <geert.hendrickx@ua.ac.be>
List: netbsd-bugs
Date: 05/18/2005 09:11:00
>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.