zoukankan      html  css  js  c++  java
  • Git拉去代码提示“Permanently added 'gitlab.xxx.com,10.16.36.43' (ECDSA) to the list of known hosts....”

    git拉去代码提示以下错误:

    ”Warning: Permanently added 'gitlab.xxx.com,10.16.36.43' (ECDSA) to the list of known hosts.
    git@gitlab.xxx.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
    fatal: Could not read from remote repository.“

    大概意思就是说我要clone的项目的这个gitlab的主机不可知,需要让我配置一下。

    【问题解决】  参考文章:https://blog.csdn.net/weixin_39340288/article/details/81541817

    1.cmd 命令界面录入ssh-keygen -t rsa -C "xxx@xxx.com" //重新生成rsa  key 

    2.一直enter键,即可生成新的key,如上图所示。

    3.去指定目录找到 id_rsa 文件,如下图所示。

    4.将文件中的id_rsa内容全部复制到粘贴到github,个人setting--SSH and GPG keys  添加 个新的key

     

  • 相关阅读:
    Spring JDBC
    获取JNDI数据源
    subset II
    hadoop-0.20.2安装配置
    leetcode5:subsets问题
    leetcode4:Permutation
    leetCode3
    leetcode2:线性表
    leetcode1:线性表
    使用C++11 开发一个半同步半异步线程池
  • 原文地址:https://www.cnblogs.com/tianpin/p/14026070.html
Copyright © 2011-2022 走看看