-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git hangs on windows #71
Comments
I have indeed only tested (used) git with (passphraseless) public key authentication. Currently don't see how to nicely prompt for a passphrase, so will add a warning to the README. |
It looks like it is possible for the gpg-agent that comes with gpg4win, to work as an ssh-agent as well (and thus prompt the user with a pop-up box when the key needs be be unlocked). I'm gonna try it out and report back with results. |
Ok, so it seems that the gpg-agent on windows can assume the role as an ssh-agent for putty, but not other ssh implementations, and thus it is kind of a dead end. |
Windows .. dead end. I don't run windows and don't really see a way of doing anything about it. |
Well, being a linux person I don't really argue with you there... The thing I have seen working is pass4win, that works with https git remotes, and saves username and password (in some hashed way). |
Mmmm.. |
git for windows comes with an ssh-askpass compatible command, git gui--askpass (located in /mingw64/libexec/git-core/git-gui--askpass on my PortableGit version, presumably some place similar for the installed version). |
Added to FAQ, thanks @bjmgeek . . |
however, I was never able to get it to work. Instead, I created a separate passwordless key pair, and put git-shell in the options field for the line in the authorized_keys file:
|
Just a note: When using HTTPS remotes, It should be possible to make git use wincred to save the git password, by using git-bash and first setting the option: git config --global credential.helper winced Then checking the repo out: git clone https://server/repo localreponame Then, your git credentials should be saved in the windows credentials manager, and maybe it will solve the problem relating to qtpass. I haven't tested this myself, but it should be doable. |
When trying to do a push or an update on windows, qtpass hangs.
My best guess would be an ssh session trying to unlock the ssh-key, without prompting the user, as I get a prompt when I do a manual push or pull by command line.
The text was updated successfully, but these errors were encountered: