In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1 Description of the problem
The above error occurs when push, it says make sure you have sufficient permissions and this repository exists, the repository does not exist... This probably isn't, so it's a question of permissions, or exactly sshkey.
2 Regenerate ssh keyssh-key -t rsa -b 4096 -C xxxx@xxxxx
This is the method recommended by gitub to generate a new ssh key. Note, please do not use default name, the first prompt will enter a name, please use a custom name.
3 Modify ~/.ssh/config
Move public and private keys to ~/.ssh.
mv xxx xxx.pub ~/.ssh
Modify ~/.ssh/config:
vim ~/.ssh/config
input
Host github.comHostName github.comUser gitIdentityFile ~/.ssh/name
where name is the custom key name of the previous step, which is the private key, not the public key ending in.pub.
4 Adding public keys to github
In the github homepage, click on the avatar in the upper right corner to enter the settings.
Select:
Enter the name and the contents of the public key and save it.
5 push
Success!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.