Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dslotter opened this issue Dec 28, 2022 · 1 comment
Open

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

dslotter opened this issue Dec 28, 2022 · 1 comment

Comments

@dslotter
Copy link

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
Copy link
Owner

redfast00 commented Dec 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants