Git clone\pull Permission denied (publickey)

HI,

When running clone or pull command from FB 7, I’m getting the below error:
Permission denied (publickey).

fatal: Could not read from remote repository.
Please make sure you have the correct access rights

When running the same commands from git bash everything works fine.
I have generated a ssh key, and located it on the server.
1. Any suggestions? 
2. Is there an option to run git bash from FB with parameters?

Cheers,
Ran.

Hi Ran,

When using ssh in GitBash is the user the same as the user who is running the FinalBuilder script? I would also try the git commands under the Windows Command Console to see if there is a difference between GitBash and the Windows Command Console.

My guess is that the user running the FinalBuilder scripts does not have access to the ssh keys. Also of note FinalBuilder does not support pass-phrased ssh keys, unless using something like pageant putty.

FinalBuilder is running Git directly. The calls to GitBash and Git under the Windows Command Console should be the same (apart from the linux syntax). The “Git Generic” action allows any git command to be run with any parameters.