github pull code report [email protected]'s password

github pulls the code and reports "[email protected]'s password"

Problem Description

Recently, when I was building my own personal blog and pulled some codes from github, I found that my win10 pulled the codes. According to the prompt, I entered the login password to log in to github (the ssh already set on github) and still reported an error. In the middle, I always thought that I made a wrong input. I tried many times, but it still didn't work.

insert image description here

There is no problem at all when pulling the code on gitee. Later, I read a lot of posts on the Internet, and my situation was a little different. Finally, I saw related issues on github. portal~

Solve the problem

  1. Test port is available

    ssh -T -p 443 [email protected]
    

insert image description here

  1. Enable ssh connection via Https
    Create a file config file under .ssh (just create a new txt and remove the suffix)
    insert image description here

  2. Verify that it is available
    Use the command to test whether you can connect to github

    ssh -T [email protected]
    

insert image description here

Then clone the code on it

D-1673938935306)]

Then clone the code on it

insert image description here

Guess you like

Origin blog.csdn.net/weixin_45340300/article/details/128716369