I seem to have lost my permissions to a github account after pushing to it from another (local) repository. I am now receiving the following error:
git push
Pe
You have to export your key on the server with the command
ssh-copy-id user@host
and ssh-agent
should run before your ssh-add.
You can put this line in /etc/rc.local
if you are under Linux :
eval $(ssh-agent)
Edit: now I know you use windows, so see this thread : Getting ssh-agent to work with git run from windows command shell