Open Fyfth opened 2 years ago
I installed the git cli
I entered the code: git clone --recurse-submodule git@github.com:Unity-Technologies/Robotics-Nav2-SLAM-Example.git
here is the response I got git clone --recurse-submodule git@github.com:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights
you should read the github docs https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey to configure the ssh key
Hi I have this issue too. I have added my ssh public key to github.com and I'm able to pull the Robotics-Nav2-SLAM-Example but it stucks again when it try to download submodule ROS-TCP-Endpoint. Here is the error message:
`C:\Users\myname\ws\ros2Unity>git clone --recurse-submodule git@github.com:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... Enter passphrase for key '/c/Users/myname/.ssh/id_rsa': remote: Enumerating objects: 1202, done. remote: Total 1202 (delta 0), reused 0 (delta 0), pack-reused 1202Receiving objects: 100% (1202/1202), 131.79 MiB | 6.45 MiB/s Receiving objects: 100% (1202/1202), 132.80 MiB | 6.79 MiB/s, done. Resolving deltas: 100% (542/542), done. Submodule 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' (git@github.com:Unity-Technologies/ROS-TCP-Endpoint.git) registered for path 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' Cloning into 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'... 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:Unity-Technologies/ROS-TCP-Endpoint.git' into submodule path 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' failed Failed to clone 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'. Retry scheduled Cloning into 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'... 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:Unity-Technologies/ROS-TCP-Endpoint.git' into submodule path 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' failed Failed to clone 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' a second time, aborting
C:\Users\alngu\ws\ros2Unity> ` I would appreciate any help
Same issue here, anyone with a solution ?
Same issue here, anyone with a solution ?
the easiest way to solve the problem is to clone the repository through HTTPS
I installed the git cli
I entered the code: git clone --recurse-submodule git@github.com:Unity-Technologies/Robotics-Nav2-SLAM-Example.git
here is the response I got git clone --recurse-submodule git@github.com:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights