Running ssh-add from git bash using Windows 10's OpenSSH

Solution 1:

I ran into the same problem and found out that git bash prepends /usr/bin to PATH.

My really hacky solution was to just prepend the Path to OpenSSHs ssh-add to the path in my .bashrc:

PATH="/c/Windows/System32/OpenSSH:${PATH}"