Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fpjs-setup error #2

Open
KanoczTomas opened this issue Mar 30, 2018 · 4 comments
Open

fpjs-setup error #2

KanoczTomas opened this issue Mar 30, 2018 · 4 comments

Comments

@KanoczTomas
Copy link

KanoczTomas commented Mar 30, 2018

Hello,

when following the instructions on knowthen/fpjs-setup I get an error (tried git clone several times, getting a slightly different error every time):

user@VirtualBox:~/functional_programming$ git clone git@github.com:knowthen/fpjs.git
Cloning into 'fpjs'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
user@VirtualBox:/functional_programming$ git clone git@github.com/knowthen/fpjs.git
fatal: repository 'git@github.com/knowthen/fpjs.git' does not exist
user@VirtualBox:~/functional_programming$ git clone git@github.com:knowthen/fpjs.git
Cloning into 'fpjs'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

Doing git clone https://github.com/knowthen/fpjs.git works just fine.
Cloning into 'fpjs'...
remote: Counting objects: 246, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 246 (delta 1), reused 3 (delta 0), pack-reused 237
Receiving objects: 100% (246/246), 102.50 KiB | 0 bytes/s, done.
Resolving deltas: 100% (125/125), done.
Checking connectivity... done.

Thought I report it in case somebody else bumps to this error. Not sure what the cause is though.

@marcote
Copy link

marcote commented Mar 30, 2018

@KanoczTomas the problem most probably is the SSH key configuration your are using.
Make sure you uploaded your public key into Github, otherwise cloning through SSH will fail.
Further info here : https://help.github.com/articles/connecting-to-github-with-ssh/

HTH

@KanoczTomas
Copy link
Author

@marcote that helped. Thanks a lot!
@knowthen I think this information should be included in the DEVSETUP.md file. One needs an ssh key uploaded with git to use your method, or use https.

@RockinRonE
Copy link

@KanoczTomas You can also get away with using: git clone https://github.com/knowthen/fpjs.git

@KanoczTomas
Copy link
Author

@RockinRonE thanks for the suggestion, yeah I used https and it worked fine for me. I wanted to find out the cause of the error and to either have the correct setup mentioned on the page, or using https (which requires no ssh key import to github). I created a pull reqest #4 to address the later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants