#1
|
|||
|
|||
Getting Git to work with public key
I'm having troubles pushing to a git repository and I think it's harder than it should be. I added Git to the Visual Build project and set the command to "push" and the working directory to the directory that contains the git repository. When I go to test the step, I get the following:
Quote:
For whatever reason, Visual Build isn't picking up the SSH key (located in %USERPROFILE%\.ssh). I setup a new SSH key to work with Pageant but it still says "Permission denied (publickey)" (also when using git from the command line). It seems that git.exe only works (online) when its opened with the Git Shell. The only way I can see getting it to work is by using a Powershell step instead of Git. Also, if I try to SSH in with PuTTY then it works and I get the following: Quote:
Has anyone been able to get "git push" to work with Visual Build? If so, how? |
Tags |
git , key , step |
|
|