在尝试将我的专用存储库链接到我的CPanel时,在采取所有必要步骤之后,当我到达在CPanel中插入SSH链接的部分时,我会得到这个错误。
Error: (XID x7rhx7) “/usr/local/cpanel/3rdparty/bin/git” reported error code “128” when it ended: Warning: Permanently added the ECDSA host key for IP address '140.82.113.4' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.发布于 2022-10-09 23:17:05
我终于能够通过在cpanel根文件夹中的".ssh“文件夹中创建一个"config”文件来解决这个问题。然后我又说:
Host *
IdentityFile=/home/sitename/.ssh/my_key
UserKnownHostsFile ~/.ssh/known_hostsfolder.
https://stackoverflow.com/questions/74008808
复制相似问题