Permission denied when try to clone dataserver recursively
Closed this issue · 2 comments
Ciangi commented
Hi,
i have this problem:
Submodule 'htdocs/zotero-schema' (git@github.com:zotero/zotero-schema.git) registered for path 'dataserver/htdocs/zotero-schema'
Cloning into '/home/panda/zotero-test/dataserver/htdocs/zotero-schema'...
Warning: Permanently added the RSA host key for IP address '140.82.118.4' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:zotero/zotero-schema.git' into submodule path '/home/panda/zotero-test/dataserver/htdocs/zotero-schema' failed
Failed to clone 'htdocs/zotero-schema'. Retry scheduled
Cloning into '/home/panda/zotero-test/dataserver/htdocs/zotero-schema'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:zotero/zotero-schema.git' into submodule path '/home/panda/zotero-test/dataserver/htdocs/zotero-schema' failed
Failed to clone 'htdocs/zotero-schema' a second time, aborting
Failed to recurse into submodule path 'dataserver'
Can't i get this zotero-schema repo without some specific rights?
Greetings
Ciangi commented
Hmm....
changing in .git/config and .gitmodules from git protocol to https did the trick.
https://github.com/zotero/zotero-schema.git
dstillman commented
Fixed, sorry about that.