Mac OS上码云添加SSH Key
2019-12-13 本文已影响0人
CoderCyl
生成SSH Key
ssh-keygen -t rsa -C "邮箱地址"
然后就一直回车下一步

看到上图所示说明生成成功
生成的公私钥保存在/Users/用户名/.ssh/
目录下
cd
到.ssh
目录下,ls
看到公私钥文件
id_rsa id_rsa.pub
查看SSH Key并填写到码云平台
cat
查看SSH Key
cat id_rsa.pub

将上图公钥复制到码云
