aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/windows_ssh_webapp_password_entry_broken/comment_1_efe3225766e0ef010534e77f1d073541._comment
blob: 8941daa35dbcd022ab44e381f0bea2ddadd61f74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.
"""]]