[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-bugs
Subject:    [Bug 1342] New: SSH_ASKPASS not working as expected
From:       bugzilla-daemon () bugzilla ! mindrot ! org
Date:       2007-07-20 12:58:07
Message-ID: bug-1342-705 () http ! bugzilla ! mindrot ! org/
[Download RAW message or body]

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@mindrot.org
        ReportedBy: jan.alphenaar@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic