Error while cloning from repo

5 views
Skip to first unread message

satyaakam

unread,
Oct 8, 2011, 9:34:21 AM10/8/11
to Kodelearn_developers
$git clone g...@github.com:kodeplay/kodelearn.git
Cloning into kodelearn...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

so i was able to clone using git clone https://github.com/kodeplay/kodelearn.git

did a git submodule init

git submodule update gives me following error

git submodule update
Cloning into modules/breadcrumbs...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of 'g...@github.com:kodeplay/breadcrumbs.git' into submodule path
'modules/breadcrumbs' failed

started working with stable .zip version instead.

-Satya

vineet naik

unread,
Oct 8, 2011, 10:01:51 AM10/8/11
to kodelearn_...@googlegroups.com
Hi Satya, 

It seems you have not setup any SSH Public Keys on Github. You will need to set atleast one to create a clone from  g...@github.com:kodeplay/kodelearn.git (because when you clone using g...@github.com url, you are actually opening an SSH connection to githubs server which they authenticate)

For setting SSH Keys, click on Account Settings on top right and then Public SSH Keys on the left panel. Github has a good help page here [http://github.com/guides/providing-your-ssh-keythat explains how to do it. 

After this it will allow you to clone the main repo and all the submodules without any problem from g...@github.com:kodeplay/kodelearn.git

Also, if you are looking to contribute back to the project, then please consider forking the project and sending pull requests. But that can be 
done later on too. 

So I think for now, if you setup SSH keys, you should be good to go.
--
Vineet Naik

satyaakam goswami

unread,
Oct 8, 2011, 10:17:14 AM10/8/11
to kodelearn_...@googlegroups.com
On Sat, Oct 8, 2011 at 7:31 PM, vineet naik <vinee...@kodeplay.com> wrote:
Hi Satya, 

It seems you have not setup any SSH Public Keys on Github. You will need to set atleast one to create a clone from  g...@github.com:kodeplay/kodelearn.git (because when you clone using g...@github.com url, you are actually opening an SSH connection to githubs server which they authenticate)

thanks will try to setup.
 

For setting SSH Keys, click on Account Settings on top right and then Public SSH Keys on the left panel. Github has a good help page here [http://github.com/guides/providing-your-ssh-keythat explains how to do it. 

After this it will allow you to clone the main repo and all the submodules without any problem from g...@github.com:kodeplay/kodelearn.git

Also, if you are looking to contribute back to the project, then please consider forking the project and sending pull requests. But that can be done later on too. 

yes no rush been toying with khanacademy.org code for a while , will be forking soon , have a look at it too . in the meantime let me test   kodelearn , KA meets  my requirements let me see if kodelearn fits the bill too.

-Satya

vineet naik

unread,
Oct 8, 2011, 10:26:09 AM10/8/11
to kodelearn_...@googlegroups.com
yes no rush been toying with khanacademy.org code for a while , will be forking soon , have a look at it too . in the meantime let me test   kodelearn , KA meets  my requirements let me see if kodelearn fits the bill too.


Cool! Either way, let us know your feedback about Kodelearn.

--
Vineet Naik
Reply all
Reply to author
Forward
0 new messages