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 pull request from git in step 1. Configuring Your Development Environment #54

Open
Fyfth opened this issue Oct 23, 2022 · 4 comments

Comments

@Fyfth
Copy link

Fyfth commented Oct 23, 2022

I installed the git cli

I entered the code: git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git

here is the response I got
git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git
Cloning into 'Robotics-Nav2-SLAM-Example'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights

@Hezhexi2002
Copy link

I installed the git cli

I entered the code: git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git

here is the response I got git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... [email protected]: 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

@looninho
Copy link

looninho commented Jan 6, 2023

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 [email protected]: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' ([email protected]: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'...
[email protected]: 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 '[email protected]: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'...
[email protected]: 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 '[email protected]: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

@keli95566
Copy link

Same issue here, anyone with a solution ?

@Hezhexi2002
Copy link

Same issue here, anyone with a solution ?

the easiest way to solve the problem is to clone the repository through HTTPS

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

4 participants