Clone of 'git@github.com:riscv/riscv-fesvr.git' into submodule path 'riscv-fesvr' failed
gitfoxi opened this issue · 2 comments
gitfoxi commented
I think github no longer supports git@github
. It needs https://
or ssh://
urls.
$ git submodule update --init --recursive
Cloning into 'riscv-fesvr'...
Saving password to keychain failed
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:riscv/riscv-fesvr.git' into submodule path 'riscv-fesvr' failed
palmer-dabbelt commented
github definately still supports SSH URLs.
You don't have a github public key. Here's the first result from Google, which I think should tell you how to setup a SSH key.
You should also be able to do something like
sed s#git@github.com:#git://github.com/#g -i .gitmodules
git submodule sync
to change your authentication method (I use a similar command to set everything to SSH URLs instead of HTTP, so I don't have to learn how to setup HTTP authentication).