代码如下,抄自gayhub

#这一步,按照提示一路走下来,即可,可以不加密码,也可以加
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

# start the ssh-agent in the background
eval $(ssh-agent -s)

ssh-add ~/.ssh/id_rsa

cat ~/.ssh/id_rsa.pub

标签: github, ssh

添加新评论