computer with win10 system,
1. Install git, please refer to http://www.runoob.com/git/git-install-setup.html for details
2. Configure the computer's ssh, use git bash,
Enter ssh-keygen -t rsa -C "[email protected]" #It is recommended to fill in your real and valid email address
will appear after return
Generating public/private rsa key pair
Enter file in which to save the key (/c/Users/xxxx_000/.ssh/id_rsa): #Do not fill in and press Enter
Enter passphrase (empty for no passphrase): #Enter the password (can be empty)
Enter same passphrase again: #Confirm the password again (can be empty)
Your identification has been saved in /c/Users/xxxx_000/.ssh/id_rsa. #Generated key
Your public key has been saved in /c/Users/xxxx_000/.ssh/id_rsa.pub. #Generated public key
3. The machine has completed the ssh key setting, and its storage path is: c:/Users/xxxx_000/.ssh/.
For example: C:\Users\huiheifa\.ssh
Notepad open the file id_rsa.pub
Copy file content
4. ssh key to Alibaba cloud code
Click add sshkey in sshkeys under the directory profile, paste id_rsa.pub
5. Modify the password under the profile
The specific reason is not clear for the time being. If it is not modified, the clone code will report an error when entering the account password.
例如:fatal: Authentication failed for 'https://code.aliyun.com/1527383574/codes.git/'