So, I installed msysgit and successfully executed git from the bash shell.
From the bash shell, I created the keys with ssh-keygen - everything works fine.
The key files are in my %userprofile%\.ssh folder (from the bash shell, this: ~/.ssh ).
I can connect to my server (without me in my case).
Next, I want to be able to run git from the Windows Cmd shell.
Adding c:\msysgit\bin and c:\msysgit\mingw\bin to the search path.
Git works locally just fine: branch, merge, add, commit, check ... working well.
However, an attempt to work with the server fails with an error: ' Permission denied (publickey). ''
It seems that git, when executed from the command line, looks at another place, trying to allocate key files, or another reason why it fails.
git msysgit ssh
Uri May 25 '11 at 15:35 2011-05-25 15:35
source share