bugzilla-daemon at bugzilla.mindrot.org
2007-Jul-20 12:58 UTC
[Bug 1342] New: SSH_ASKPASS not working as expected
http://bugzilla.mindrot.org/show_bug.cgi?id=1342 Summary: SSH_ASKPASS not working as expected Product: Portable OpenSSH Version: 4.6p1 Platform: All OS/Version: Cygwin on NT/2k Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at mindrot.org ReportedBy: jan.alphenaar at dotcolour.com I have set up SSH with the SSH_ASKPASS and DISPLAY variable set. Everything works perfectly. When ssh is used without a tty, the askpass program is executed, providing the password. But when I change the location of the askpass program, so it contains a space in the absolute path name (for example "c:\My Documents\askpass") the askpass program cannot be found. I get a "c:\My is not recognized as an internal or external command, operable program or batch file" error message back. This indicates that openssh executes the askpass program with an absolute path, without decently quoting the string (surrounding it with "" characters). I am using the cygwin implementation of openssh, currently version 4.6p1. But I expect this bug to appear in all operating systems, supporting a space in file and directory names. -- Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-12 07:54 UTC
[Bug 1342] SSH_ASKPASS not working as expected
https://bugzilla.mindrot.org/show_bug.cgi?id=1342 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #1 from Damien Miller <djm at mindrot.org> 2008-06-12 17:54:20 --- How are you specifying SSH_ASKPASS? Testing with env SSH_ASKPASS=/home/djm/bin/ssh\ askpass ssh-add </dev/null works for me as expected. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.