1.打开Git Bash
2.创建本地ssh
a)输入ssh-keygen -t rsa -C "[email protected]",(github注册的邮箱),接下来enter键即可(也可以输入密码)。
b)生成的文件保存在C:\Users\Administrator\.ssh,文件名:id_rsa(私钥),id_rsa.pub(公钥)
1.打开Git Bash
2.创建本地ssh
a)输入ssh-keygen -t rsa -C "[email protected]",(github注册的邮箱),接下来enter键即可(也可以输入密码)。
b)生成的文件保存在C:\Users\Administrator\.ssh,文件名:id_rsa(私钥),id_rsa.pub(公钥)