Unity icon indicating copy to clipboard operation
Unity copied to clipboard

Adding some ways of asking for a password, aka SSH support

Open shana opened this issue 7 years ago • 2 comments

Fixes #244

SSH_ASKPASS/GIT_ASKPASS will ask for a password if there isn't one. If the command line asks for a password, use a custom UI to ask for it. I haven't tested the custom UI at all because haha I can't get it to trigger, processes that execute with redirected input don't ask for things on the command line. But for windows, at least, SSH_ASKPASS will ask for a password (though it won't cach it apparently).

This also moves reading process output to a thread because if the process asks for input without us noticing, it will hang forever and hang Unity in the process when it wants to kill the domain. This checks if we need to shutdown every second and aborts if needed.

shana avatar May 29 '18 12:05 shana

I had to change my environment variable to make SSH askpass working on windows 10

ghost avatar Nov 16 '18 10:11 ghost

Hi what is the status of using ssh for GitHub for Unity?

ibytergj avatar Sep 09 '19 17:09 ibytergj