In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "how to configure multiple git ssh public keys on windows". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Reference: https://www.cnblogs.com/heyongzhen/p/9159370.html
1. Generate connection public key private key (rsa asymmetric encryption) ssh-keygen-t rsa-C "git warehouse mailbox address"
Then enter the save key name (id_rsa_00), and then enter directly (if you set the password, the password is the password to protect the private key. Enter the password every time ssh)
When you see this, the generation is successful.
two。 Move the generated pair of keys to the c:/User/ current user / .ssh directory. If not, create a new one.
3. New profile config
Host: represents the @ following paragraph in git@code.aliyun.com. It is best not to customize it and keep it the same as hostname.
IdentityFile points to the generated key
5. Configure the agent. If you do not configure the proxy git connection, you need to enter a password every time.
6. Copy the public key and upload it to the public key management of the remote warehouse
7. Test connection
Ssh-T git@code.aliyun.com
8.Git configuration user name, mailbox
This is the end of the content of "how to configure multiple git ssh public keys on windows". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.