cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.21k stars 605 forks source link

Failed to clone submodules: Permission denied #58

Closed HexRabbit closed 5 years ago

HexRabbit commented 5 years ago

Get error while running ./build --download-dependencies qemu-buildroot

+ git submodule update --init --recursive --depth 1 -- \
  /home/hexrabbit/linux-kernel-module-cheat/submodules/binutils-gdb \           
  /home/hexrabbit/linux-kernel-module-cheat/submodules/gcc \
  /home/hexrabbit/linux-kernel-module-cheat/submodules/glibc \
  /home/hexrabbit/linux-kernel-module-cheat/submodules/linux \                                                  
;                                                                                        
Cloning into '/home/hexrabbit/linux-kernel-module-cheat/submodules/binutils-gdb'...
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:cirosantilli/binutils-gdb.git' into submodule path '/home/hexrabbit/linux-kernel-module-cheat/submodules/binutils-
gdb' failed
Failed to clone 'submodules/binutils-gdb'. Retry scheduled
Cloning into '/home/hexrabbit/linux-kernel-module-cheat/submodules/gcc'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
cirosantilli commented 5 years ago

Thanks!

You will also want to do this sooner or later: https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account ;-)