MarvinTeichmann / KittiSeg

A Kitti Road Segmentation model implemented in tensorflow.
MIT License
910 stars 403 forks source link

git clone command error #2

Closed amiltonwong closed 7 years ago

amiltonwong commented 7 years ago

Hi, @MarvinTeichmann ,

I try the command as listed in README.md,

$ git clone git@github.com:MarvinTeichmann/KittiSeg.git

I got the following error:

Cloning into 'KittiSeg'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Any suggestion to fix this problem? THX~

MarvinTeichmann commented 7 years ago

Hi, I suspect this is due to a wrong ssh configuration. A possible solution is discussed at Stackoverflow.

As quick fix you can also clone the repository using https: git clone https://github.com/MarvinTeichmann/KittiSeg.git.

amiltonwong commented 7 years ago

Hi, @MarvinTeichmann ,

Thanks for your reply. I work it out temporarily by

git clone https://github.com/MarvinTeichmann/KittiSeg.git

However, when update the submodules, the ssh key issue still exists:

root@milton-OptiPlex-9010:/data/code/KittiSeg# git submodule update --init --recursive
Cloning into 'submodules/TensorVision'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:TensorVision/TensorVision.git' into submodule path 'submodules/TensorVision' failed
root@milton-OptiPlex-9010:/data/code/KittiSeg#

I may have a look on this Stackoverflow first

MarvinTeichmann commented 7 years ago

Yes, I have not thought of the submodules. You could of course change the url of both submodules to the https Version. Instructions for this can be found here. On the other hand, setting up your github ssh correctly will be the better way ;).

amiltonwong commented 7 years ago

Thanks @MarvinTeichmann , I did it by setting up the public key for ssh to github from here. Both commands (git clone and git submodule) do work now.