I am trying to download learninglocker with these command lines but I have the error access denied (public key) (at git statement)
How can I fix it?
git clone -b master git@github.com:LearningLocker/learninglocker.git learninglocker
cd C:\xampp\htdocs\learninglocker
C:\xampp\php\php.exe -r “readfile(‘https://getcomposer.org/installer’);” | php
C:\xampp\php\php.exe C:\composer\composer.phar install --no-interaction --no-dev
rpkamp
2
To clone using ssh (which is what you’re doing) you need a github account with a public key registered.
For now the easiest thing to do would be start using https instead of ssh to clone the repository, i.e.,
git clone -b master https://github.com/LearningLocker/learninglocker.git learninglocker
If you want to know how to register a public key with github see here: https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
system
Closed
3
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.