Reputation: 143
I am trying to import a GitHub repository into Eclipse and I keep getting the below error. Cannot run program "path" CreateProcess error=2, The system cannot find the file specified. The path has nothing to do with git and I can't figure out what program it needs to run or change where it looks for the program. I am using SSH with valid keys and I know my login information is correct.
Does anyone know what is causing this problem? I'm really stumped.
Upvotes: 1
Views: 2535
Reputation: 143
I solved my own question. I used PuTTY to do my SSH authentication. Programs you will need, putty.exe, plink.exe, puttygen.exe, pagent.exe.
You then should be able to connect to the Git repository. However you need to make sure that pagent is running and it has the key added otherwise this won't work. Check out this tutorial if you want pagent to load your keys when it starts.
Upvotes: 2