日日行,不怕千万里

git ssh key 生成

$ git config --global user.name "zhangsan"
$ git config --global user.email "zhangsan@qq.com"   // 前两部铺垫

$ ssh-keygen -t rsa -C “zhagsan@qq.com” // 生成
$  cat ~/.ssh/id_rsa.pub  // 查看



posted @ 2018-11-01 20:44  GongXiaoZhu  阅读(123)  评论(0编辑  收藏  举报