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 207.97.227.239
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?

Answers


Check following things:

  1. Do you really have permission to push (if the repository is not read only)
  2. Do you really copied the right public key to the server, there is no unnecessary spaces or newlines

Need Your Help

Liferay portlet development on JBoss AS 6

jboss liferay jboss6.x

I am trying to create a new Portlet project (basically a portlet for Liferay) in Eclipse (Helios with Liferay SDK installed). I use JBoss AS 6.10.final and Liferay 6.05.

Are there any platforms for which the file separator isn't “/”?

r cross-platform

To create a path to a file in a platform independent way, you are supposed to use file.path. It bugs me a little that, e.g.,