GIT(aliyun code)生成 SSH Key步骤

GIT(aliyun code)生成 SSH Key步骤

第一步:设置你的用户名

git config --global user.name "你的用户名"

第二步:设置你的用户名

git config --global user.email "你的邮箱"

第三步:生成ssh秘钥

ssh-keygen -t rsa -C "标题"

重点内容
1:标题可以是你的邮箱或者你自己定义,方便你自己理解就ok;
2:sshkey文件目录

Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.

猜你喜欢

转载自blog.csdn.net/weixin_39690767/article/details/80037187