This commit is contained in:
Joey Hess 2015-05-26 17:19:51 -04:00
parent c5e363b65d
commit 5693c130f8

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-05-26T20:28:42Z"
content="""
Had a closer look at this, and I'm stumped. The ssh.exe from msysgit seems
to be built with `SSH_ASKPASS` support, based on strings. But, I cannot seem
to get it to use it.
OTOH, the ssh from cygwin did support this. Just had other problems so it's
not being used any longer.
At a guess, from reading ssh's code, I might need to find a way to defeat
ssh's isatty check on windows.
<http://stackoverflow.com/questions/10960269/git-ssh-askpass-on-windows>
hints that there might be a way to start the process "with CreateProcess()
dwCreationFlags DETACHED_PROCESS" to make it work.
"""]]