1
I am using cygwin on Windows 10.
When using ssh user@server.com
ssh correctly loads my id_rsa
, asks me for the passphrase and then authenticates me on the server.
However, when I try to git push ssh://user@server.com/~/repo.git
, I get this error:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Doesn't git use the ssh mechanism and should therefore successfully authenticate me as well?