ssh-keygen -t rsa -C 'xxx@xxx.com' 然后一路回车(-C 参数是你的邮箱地址)cd ~/.ssh# 查看公钥cat id_rsa.pub# 测试ssh -T git@gitee.com