sourceTree tips Invalid address of the warehouse and the git ssh keys

Disclaimer: This blog is used as a note, the contents of the original but also learn from other bloggers, open - learning - learn https://blog.csdn.net/chushoufengli/article/details/90372879

1. sourceTree: Tips warehouse invalid address, most likely cause of "verification" in the account password question, ssh unrelated

On behalf of SSH Secure Shell is used to manage network, operating system and configuration, or Secure Socket Shell, and do not need to use every time a user name and password to verify GitLab server. You can set up SSH keys in order to provide a reliable connection between the computer and GitLab. In the generation ssh keygenbefore, you need to install Git on your system.

 

2. the following: Create a SSH key ( Transfer from: https://www.cnblogs.com/yanhuidj/p/9525342.html )

Step (1):  To create SSH key open Git Bashcommand prompt and enter the command as follows:

ssh-keygen

It will prompt 'input file to save the key ( //.ssh/id_rsa):', just type the file name and press Enter. Then prompted for a password "Enter password (blank password)." Some enter the password and press Enter. You will see the SSH key generation, as shown below:

position: 

 

Step (2):  log on now to your GitLab account, and then click [Settings]  option.

Step (3):  To create an SSH key, click on the left menu of the  SSH Key  tab.



 

Guess you like

Origin blog.csdn.net/chushoufengli/article/details/90372879