zoukankan      html  css  js  c++  java
  • 解决GitHub添加sshkey仍然无法访问clone远程仓库的问题

    1 ssh -v git@github.com 通过这个命令打印调试信息 

    ebug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: rekey after 134217728 blocks
    debug1: SSH2_MSG_EXT_INFO received
    debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-dss>
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey
    debug1: Next authentication method: publickey
    debug1: Offering RSA public key: /Users/zhangjin/.ssh/id_rsa
    debug1: Authentications that can continue: publickey
    debug1: Trying private key: /Users/zhangjin/.ssh/id_dsa
    debug1: Trying private key: /Users/zhangjin/.ssh/id_ecdsa
    debug1: Trying private key: /Users/zhangjin/.ssh/id_ed25519
    debug1: No more authentication methods to try.
     
    是尝试用id_rsa的公钥来连接,但是自己上传的是id_rsa.github的东西,所以有问题
     
    上传id_rsa.pub文件到GitHub的ssh keys列表后解决问题 
     
  • 相关阅读:
    C盘的可用空间忽大忽小
    安装软件时不能指定软件的安装目录
    MySQL安装排坑
    Butterfly主题目录生成不了问题
    apache+php安装配置的各种问题
    环境变量配置不成功
    http模块
    Node.js
    Spring Boot入门
    代码优化笔记
  • 原文地址:https://www.cnblogs.com/QuestionsZhang/p/10848003.html
Copyright © 2011-2022 走看看