美文网首页
GitLab添加公钥

GitLab添加公钥

作者: CN_HarrySun | 来源:发表于2018-05-15 11:21 被阅读86次
    生成公钥
    ssh-keygen -t rsa -C"xxxxx@xxxxx.com"
    

    Overwrite (y/n)? 输入 y,回车
    Enter passphrase (empty for no passphrase): 回车
    Enter same passphrase again: 回车

    查看公钥
    cat ~/.ssh/id_rsa.pub
    
    添加公钥

    将公钥拷贝到 GitLab的Profile Settings中的SSH keys 中

    相关文章

      网友评论

          本文标题:GitLab添加公钥

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