git仓库ssh连接
1、创建ssh秘钥:
1)设置git账户:
git config --global user.email "H0929zhouyehong@mail.sdmc.com"
git config --global user.name "zhouyehong"
2)创建ssh公钥: ssh-keygen -t rsa -C 'H0929zhouyehong@mail.sdmc.com'
2、添加到个人git账户:
1)cat ~/.ssh/id_rsa.pub :查看秘钥
2)复制到个人账户设置中