How do I configure my git / git-lfs ssh command path on a windows-agent correctly?
i configured my git ssh command like this:
git config core.sshCommand "C:\\Windows\\System32\\OpenSSH\\ssh.exe -i C:\\Users\\Admin\\.ssh\\id_rsa"
It doesn’t seem to matter what i put into git config, jenkins will use a different path.
but when i try to perform a checkout the ssh path is lacking backslashes:
batch request: sh: line 1: C:WindowsSystem32OpenSSHssh.exe: command not found: exit status 127
The interesting part is that it only fails for the smudge-filter.
The way i currently go about fixing it is deleting the .git directory and checking out again, but this is no longterm solution as it requires this everytime an lfs file needs to be pulled
Hopefully someone that is better with git can help me here.
Jenkins setup: Jenkins 2.479.3