----- "Li Ming" lili@redhat.com wrote:
I put a public SSH key to my accounts today, but get this error: [liam@localhost autoqa]$ git push ssh://liam@git.fedorahosted.org/autoqa.git master Enter passphrase for key '/home/liam/.ssh/id_rsa': fatal: protocol error: bad line length character
I don't know if the URL is correct. Looking at the FAQ: https://fedorahosted.org/web/faq and to my .git/config the URL should be: ssh://git.fedorahosted.org/git/autoqa.git
What about $ ssh liam@fedorapeople.org does it work? I believe it should use the same mechanism: http://fedoraproject.org/wiki/Infrastructure/fedorapeople.org
Thanks Liam
autoqa-devel mailing list autoqa-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/autoqa-devel
On 01/29/2010 04:03 PM, Kamil Paral wrote:
----- "Li Ming"lili@redhat.com wrote:
I put a public SSH key to my accounts today, but get this error: [liam@localhost autoqa]$ git push ssh://liam@git.fedorahosted.org/autoqa.git master Enter passphrase for key '/home/liam/.ssh/id_rsa': fatal: protocol error: bad line length character
I don't know if the URL is correct. Looking at the FAQ: https://fedorahosted.org/web/faq and to my .git/config the URL should be: ssh://git.fedorahosted.org/git/autoqa.git
What about $ ssh liam@fedorapeople.org does it work? I believe it should use the same mechanism: http://fedoraproject.org/wiki/Infrastructure/fedorapeople.org
ssh to liam@fedorapeople.org works,it works after the public key was uploaded. How do you create the branch of rpmguard and push you local file to remote server, do you have a Readme for me to follow? I did like this, is this correct? [liam@localhost ~]$ pwd /home/liam [liam@localhost autoqa]$ ssh-keygen -t rsa upload the /home/liam/.ssh/id_rsa.pub to https://admin.fedoraproject.org/accounts/user/view/liam?_csrf_token=6bf109d3... [liam@localhost autoqa]$ pwd /home/liam/autoqa [liam@localhost autoqa]$ git add tests/anaconda/* [liam@localhost autoqa]$ git commit -a [liam@localhost autoqa]$ git push ssh://liam@git.fedorahosted.org/autoqa.git master Enter passphrase for key '/home/liam/.ssh/id_rsa': fatal: protocol error: bad line length character
Thanks Liam
----- "Li Ming" lili@redhat.com wrote:
ssh to liam@fedorapeople.org works,it works after the public key was uploaded. How do you create the branch of rpmguard and push you local
file to remote server, do you have a Readme for me to follow? I did like this, is this correct? [liam@localhost ~]$ pwd /home/liam [liam@localhost autoqa]$ ssh-keygen -t rsa upload the /home/liam/.ssh/id_rsa.pub to https://admin.fedoraproject.org/accounts/user/view/liam?_csrf_token=6bf109d3... [liam@localhost autoqa]$ pwd /home/liam/autoqa [liam@localhost autoqa]$ git add tests/anaconda/* [liam@localhost autoqa]$ git commit -a [liam@localhost autoqa]$ git push ssh://liam@git.fedorahosted.org/autoqa.git master Enter passphrase for key '/home/liam/.ssh/id_rsa': fatal: protocol error: bad line length character
I see you already found the solution, there is a new commit from you.
From my test&trails, I have found out I have to check out like
$ git clone ssh://git.fedorahosted.org/git/autoqa.git instead of $ git clone git://git.fedorahosted.org/autoqa.git to be able to push to repository. Maybe the problem was connected to that.
autoqa-devel@lists.fedorahosted.org