ssh-keygen -t rsa -C "your_email@example.com"

 MAC 密约控制

生成密钥   ssh-keygen -t rsa -C "你的github用户名"

查看密钥文件夹    ls -al ~/.ssh

查看密钥内容     cat   ~/.ssh/id_rsa.pub

 

posted @ 2018-06-07 10:48  嘿嘿不黑黑  阅读(831)  评论(0编辑  收藏  举报