First, generate a public key
1, the desktop context menu select Git Bash Here
2, enter the command into the file .ssh
cd ~/.ssh
3, an input command to generate a public key
ssh-keygen -t rsa -C "[email protected]"
4, you can view the public key generated by the ls command
ls
5, an input command to open the generated public key
cat id_rsa.puh
Second, the code public key cloud configuration
Copy ssh code to the code cloud
Third, the public key to verify whether the added successfully
ssh -T [email protected]
Fourth, the small turtle SSH protocol management code encountered pit
Solution: Configure the SSH client will change the default SSH client ssh.exe. Little turtle pull, push can be used normally.
Right Little Turtle enter settings ---> network ---> sshclient = "C: / program files / git / usr / bin / ssh.exe";