In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Recently in the study of Git, every pull/push will prompt for a password, more annoying. And because the network speed is relatively slow, it takes a long time to enter the password. It took a long time to avoid entering the password.
Principle TortoiseGit realizes key authentication based on ssh of putty.
1. Git server configuration 1.1 switches to git and operates under git users to avoid later permission changes su-git1.2 generation key ssh-keygen-t rsa to generate public and private keys
Add the public key to authorized_keyscat id_rsa.pub > > authorized_keyschmod authorized_keys if you are using GitHub, log in to github, click Accounting settings at the top right, select SSH key, click Add SSH key, and copy the contents of the id_rsa.pub.
2 client configuration because TortoiseGit does not use the same key as git, it uses putty. To use the key you just generated, you need to convert it.
2.1 download the private key sz id_rsa2.2 to regenerate the private key, open "puttygen.exe", click "load", select the last private key file id_rsa, and then "save private key" is saved as a ppk file.
2.3 specify the private key at git clone
At this point, the work is done.
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.