Hi guys I'm on a osx machine and I want to push commits from a remote machine through tramp to github. I open the directory in dired on the remote machine which works fine and type
M-x magit status which leads me to the status page of the repo and here I wannt to push via
pbut I get the following error
128 git … push -v origin han\:refs/heads/han Pushing to [email protected]:username/reponame.git fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
The interesting part of this is, when I log in onto the machine via a terminal session and do a
git push there it works flawlessly. So I do have the proper access rights to the repository. The ssh key is added to my local machine and the remote machine. What am I missing here? Why isn't this working in the mentioned setup?