zoukankan      html  css  js  c++  java
  • Git 下拉项目权限配置SSH 密钥

    D:1.0.4> git clone ssh://git@gitlab.beijing.com:9000/hangzhou/global/foreign-py.git
    

    报以下错误

    Cloning into 'foreign-checkuser-py'...
    git@gitlab.xiaoxiangyoupin.com: Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

    输入自己的电子邮箱并回车命令

    D:>ssh-keygen -t rsa -C "gggg2009@163.com"

    出现此图说明秘钥配置成功

    在C盘查找id_rsa.pub 并复制,添加SSH 密钥

    clone成功

    D:>git clone ssh://git@gitlab.ggggg.com:9000/hangzhou/global/foreign-py.git
    Cloning into 'foreign-checkuser-py'...
    remote: Enumerating objects: 235, done.
    remote: Counting objects: 100% (235/235), done.
    remote: Compressing objects: 100% (144/144), done.
    Receiving objects: 98% (2859/2917), 1.24 MiB | 2.41 MiB/s
    Receiving objects: 100% (2917/2917), 1.44 MiB | 2.52 MiB/s, done.
    Resolving deltas: 100% (2065/2065), done.

  • 相关阅读:
    Java中抽象类和接口的区别(abstract class VS interface)
    ECUST_Algorithm_2019_4
    ECUST_Algorithm_2019_3
    杂题
    ECUST_Algorithm_2019_2
    Magolor的数据结构作业
    ECUST_Algorithm_2019_1
    atcoder 泛做
    2018中国大学生程序设计竞赛
    UVA
  • 原文地址:https://www.cnblogs.com/gqv2009/p/12455351.html
Copyright © 2011-2022 走看看