SSH key
运行 ssh-keygen -t rsa -t rsa -b 4096 -c +邮箱
cd /c/vsers/xxx/ssh(路径)
ls 显示id-rsa id_rsa.pub
cat ~/.ssh/id_rsa.pub
在github里打开settings里的SSH and GPS keys
创建信的key key内容复制
最后ssh -t git@github.com
显示 hi XXX 即成功
SSH key
运行 ssh-keygen -t rsa -t rsa -b 4096 -c +邮箱
cd /c/vsers/xxx/ssh(路径)
ls 显示id-rsa id_rsa.pub
cat ~/.ssh/id_rsa.pub
在github里打开settings里的SSH and GPS keys
创建信的key key内容复制
最后ssh -t git@github.com
显示 hi XXX 即成功