Knowledge map advanced must read: read how large-scale map data efficient storage and retrieval>>>
Questions
After the system is reinstalled, Git is newly installed and you want to download the items on the code cloud through SSH. The result shows that please make sure you have the correct access rights and the repository exists.
Why
Please make sure that you have sufficient access rights and that the warehouse does exist. So there are two possible reasons, one is that the warehouse that the link points to does not exist, the other is that there is not enough access rights
for the first case, check if there are any errors in the input of the link. This paper aims at the second case. After installing git, if you want to download the source code from the code cloud by SSH, you need to generate the public key and bind it with the account on the code cloud
Solutions
There are three steps
the first step is to generate sshkey on the local computer
after entering the following commands on the command line, press enter multiple times:
ssh-keygen -t rsa -C "[email protected]"
Note: in the process of actual operation, the here is used [email protected]
replace it with the mailbox bound to your gitee account
Second, bind the generated public key to the code cloud account
log in to the code cloud, click the user’s Avatar on the right side of the top navigation bar, and click Settings - > Security settings - > SSH public key
for binding
in Windows system, the default file name of public key file is ID_ RSA. Pub
, which is located in the C:// users \ \ your current user name. SSH
directory, can be quickly accessed by running % HomePath% \. SSH
in the run window
the third step is to confirm and add gitee.com to the local SSH trusted hosts list
execute the following commands on the command line:
ssh -T [email protected]
The system will ask whether to add gitee.com to the list of trusted hosts, enter Yes
and press enter
At this point, you can successfully download the project on the code cloud through SSH
For more details, refer to the code cloud official document: generate/add SSH public key
References
Please make sure you have the correct access right and the repository exists or permission De
Similar Posts:
- UltraCompare, an application for folder and file comparison, released its latest version of v20.20
- Invalid custom resolution of switchresx & the solution of not install
- Redis service failed to start, prompt: redis server: command not found
- Please make sure you have the correct access rights and the repository exists. The problem has been solved when Git clone appears.
- GitHub prompts permission denied (public key). How can I solve this problem?
- How to Solve Git Warning: possible DNS spoofing detected
- Mac remote service repair: warning: remote host identification has changed!
- [Solved] activemq Startup Error: Address already in use: JVM_Bind
- error: failed to push some refs to ‘https://gitee.com/XXXX/ui-demo.git’
- [Solved] WARN checkPermissions Missing write access to /usr/local/lib/node_modules