I have a private debian VPS hosting my git repositories.
My ssh-agent is running (on Windows) and my private key identity is added.
Adding the remote url doesn't cause a problem :
git remote add origin user@my_git_server:/home/user/git_repo //<-ok
If I use GitHub Desktop GUI client, everything is fine : I can publish / pull / push...
The problem : I want to do the same but on the command line.
Example :
$ git push origin master
user@my_git_server: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
It seems the SSH authentication is not done. What am I missing ?