1.本地密钥不安全

[root@localhost httpd]# git clone git@git.oschina.net:xxxxx/aaaa.git
Cloning into 'aaaa'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/root/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /root/.ssh/id_rsa
Permission denied (publickey).
fatal: Could not read from remote repository.

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

2.解决方案

chmod 600 id_rsa

相关文章:

  • 2021-11-08
  • 2022-12-23
  • 2021-11-22
  • 2021-09-18
  • 2021-12-02
  • 2022-12-23
  • 2021-08-02
  • 2021-10-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-07-06
  • 2022-02-21
  • 2022-12-23
相关资源
相似解决方案