redfast00 / brandmeister-dmr-sea

Bridge from DMR talkgroups on the BrandMeister network to Mumble
MIT License
5 stars 3 forks source link

Can't clone subrepository md380 -- Permission denied #2

Open dslotter opened 1 year ago

dslotter commented 1 year ago

Here's the console transcript which shows the issue.

pi@hampi:~/hamradio $ git clone --recurse-submodules -j8 https://github.com/redfast00/brandmeister-dmr-sea.git
Cloning into 'brandmeister-dmr-sea'...
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 55 (delta 19), reused 45 (delta 11), pack-reused 0
Receiving objects: 100% (55/55), 17.41 KiB | 5.80 MiB/s, done.
Resolving deltas: 100% (19/19), done.
Submodule 'src/md380tools' (git@github.com:travisgoodspeed/md380tools.git) registered for path 'src/md380tools'
Cloning into '/home/pi/hamradio/brandmeister-dmr-sea/src/md380tools'...
The authenticity of host 'github.com (140.82.112.4)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,140.82.112.4' (ECDSA) 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:travisgoodspeed/md380tools.git' into submodule path '/home/pi/hamradio/brandmeister-dmr-sea/src/md380tools' failed
Failed to clone 'src/md380tools'. Retry scheduled
Cloning into '/home/pi/hamradio/brandmeister-dmr-sea/src/md380tools'...
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:travisgoodspeed/md380tools.git' into submodule path '/home/pi/hamradio/brandmeister-dmr-sea/src/md380tools' failed
Failed to clone 'src/md380tools' a second time, aborting
redfast00 commented 1 year ago

You need to clone this repo with the ssh option instead of via https. Alternatively, you can replace the md380 url in https://github.com/redfast00/brandmeister-dmr-sea/blob/master/.gitmodules with the https version of the repo.

Note that I can't really give support for any of my code for the time being, since I have exams until the beginning of February.

Edit: I just saw that this is step 0 in the README, shame on me for not testing it. I'd accept a PR that changes the md380tools url in .gitmodules if you'd like, otherwise I'll probably fix it sometimes near the beginning of February