ubantu给github配置ssh
一、生成ssh公钥
# "your_email@example.com" 填写你的github账号,也就是邮箱
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
之后一路回车就可以了
二、查看公钥
cat ~/.ssh/id_rsa.pub

三、github配置




四、测试是否成功
ssh -T git@github.com

# "your_email@example.com" 填写你的github账号,也就是邮箱
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
之后一路回车就可以了
cat ~/.ssh/id_rsa.pub





ssh -T git@github.com
