美文网首页
git生成SSH公钥

git生成SSH公钥

作者: 细只 | 来源:发表于2019-05-20 15:39 被阅读0次

    1.安装成功后设置用户和邮箱
    git config --global user.name "name"
    git config --global user.email "email"
    2.生成SSH Key
    ssh-keygen -t rsa -C 'email'
    ( 运行后连按三次enter,日志会打印生成的目录,即Created directory )
    3.添加密钥
    进入生成目录复制id_rsa.pub文件的内容添加到项目管理的密钥库中

    相关文章

      网友评论

          本文标题:git生成SSH公钥

          本文链接:https://www.haomeiwen.com/subject/uskkzqtx.html