• git使用中的问题


    git使用中的问题

    1. 在执行git fetch的时候,出现以下错误:
    Bad owner or permissions on /home/haowt/.ssh/config

    ​ 这个时候,只需要在.ssh目录,执行以下命令行:

    sudo chmod 600 config
    1. 出现如下错误:
    The authenticity of host 'gitee.com (116.211.167.14)' can't be established.

    在新生成密钥之后,在.ssh文件夹(之前的文章有提到过)中少了一个known_hosts文件,本来密钥文件应该是三个,现在是两个,便报了这样的错误,此时选择yes回车之后,便可,同时生成了缺少了的known_hosts文件

    1. 出现Permissions 0777 for '/home/majia/.ssh/mymayunrsa' are too open错误
    Warning: Permanently added the ECDSA host key for IP address '116.211.167.14' to the list of known hosts. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for '/home/majia/.ssh/mymayunrsa' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "/home/majia/.ssh/mymayunrsa": bad permissions git@gitee.com: Permission denied (publickey). Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists.

    解决办法:

    sudo chmod 600 文件路径
    1. 出现Invalid authentication data.connection.contentType must not be null错误

      没有解决用私人令牌token登录成功

    附件列表

    • 相关阅读:
      sql server 获取存储过程,表值,标量函数的参数
      拼接枚举字符串
      存储过程的输出接受强类
      映射对象
      C# abstract,virtual 修饰符
      SqlSugar之SqlQueryDynamic返回值处理
      sql server 中数据库数据导入到另一个库中
      sql server 自增长显式添加值
      sql得到表中的列信息
      程序中MMap集合数据重复导致程序慢的情况
    • 原文地址:https://www.cnblogs.com/bchjazh/p/12416263.html
    Copyright © 2020-2023  润新知