Git error on push
So I'm trying to push a file to GitHub and I'm getting this error:
sh-3.2# git push -u origin master SecGenericPasswordCreate failed Enter passphrase for key '/var/root/.ssh/id_rsa': Connection closed by 220.127.116.11 fatal: The remote end hung up unexpectedly
I have already setup a public key... but when I try to push, I get this error. What am I doing wrong?
Check following things:
- Do you really have permission to push (if the repository is not read only)
- Do you really copied the right public key to the server, there is no unnecessary spaces or newlines