Why are people having this problem?
$ git clone --recursive git@github.com:acani/Chats.git Cloning into \'Chats\'... Permission denied (publickey). fatal: Could not
As a workaround, you can try using https url for any github repo:
cd myParentRepo
git config url.https://github.com/.insteadOf ssh://git@github.com/
# or
git config url.https://github.com/.insteadOf git@github.com:
The SSH protocol doesn’t support anonymous access to a Git repository.
So, don't use the SSH protocol. Instead, use either the Smart HTTP protocol (recommended) or the Git protocol.
For every submodule URL in your repository's .gitmodules
file, replace git@github.com:
with either https://github.com/
(to use the Smart HTTP protocol) or git://github.com/
(to use the Git protocol).
More info: Git - The Protocols