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.

  • 相关阅读:
    SQLite的sqlite_sequence表
    缓存区溢出漏洞工具Doona
    SQLite的sqlite_master表
    dfs1321
    三维bfs(HUD1253胜利大逃亡)
    dfs模版
    poj3259: Wormholes(BF模板题)
    Bellman-Ford算法
    POJ1611:The Suspects(模板题)
    poj3126
  • 原文地址:https://www.cnblogs.com/gqv2009/p/12455351.html
Copyright © 2011-2022 走看看