SourceTree Github ssh configuration problem (1)

SourceTree Github ssh configuration problem (1)

Git报错: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

solution
  1. Generate ssh-key locally,
    open the command line, enter the command
ssh-keygen -t rsa -C "[email protected]" (邮箱为githup注册时使用的邮箱)然后一路回车
  1. If the generated path is not in the .ssh directory, you need to copy the id_rsa.pub public key file with the .pub suffix to the .ssh directory
  2. Open the id_rsa.pub file, copy it, and open Github>My Profile>Settings, click the link SSH and GPG keys on the left side of the page, click the New SSH Key button on the right, and paste the copied public key content into the Key. Title can name the logo according to the project or personal preference

The operation interface is as follows
4. Open SourceTree "Tools" option, find the SSH client configuration, and import the id_rsa.pub generated before.
SourceTree SSH configuration
5. After clicking Save, perform the Pull or Push operation again and it will be normal.

Guess you like

Origin blog.csdn.net/lobe830/article/details/114238871