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

Android & MySQL: Get mysql_insert_id() and retrieve it in Android Activity

php android

Hi I have connected a MySQL in a server with and Android application using JSON. I have a table called products where the primary key is and id which is auto_increment. When I insert a new product I

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.