WebFaction
Community site: login faq

I am trying to clone a git repo into webapps/django.

But everytime I try I get the error. Permission denied (publickey). fatal: The remote end hung up unexpectedly.

Any ideas on how to solve this??

asked 24 May '11, 09:23

1st_timer
1111
accept rate: 0%

This happens when you try to clone from a remote repository without the right permissions.

Are you able to clone from the repository locally?

(24 May '11, 09:28) David L ♦♦

Yes I can!

Do I need a different publickey for the server?

(24 May '11, 09:56) 1st_timer

In that case, you'll need to either upload your own key to the server or generate a new one on the server and add this to your remote repository.

(24 May '11, 10:00) David L ♦♦

I tried that with.

ssh-keygen -t dsa

where do I find the key?

(24 May '11, 10:09) 1st_timer

You should have been prompted where you'd like to save this file (it defaults to ~/.ssh/id_dsa.

Were you not prompted?

(24 May '11, 10:11) David L ♦♦

Sorry yes I found it.

But after adding it to the remote repository. I am still experiencing the same problem.

(24 May '11, 10:35) 1st_timer

I am using git clone git@username.github.com:/project_name.git

Is this correct?

(24 May '11, 10:40) 1st_timer

That's correct. We're starting to stray away from what we can help with (as we obviously don't have any access to GitHub's servers).

You may wish to take a look at this help text.

(24 May '11, 10:58) David L ♦♦
showing 5 of 8 show 3 more comments
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×111
×1

question asked: 24 May '11, 09:23

question was seen: 12,964 times

last updated: 24 May '11, 10:58

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM