Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用命令 'git clone git@github.com:uvagfx/hipi.git' 将 hipi 目录从 GitHub 克隆到我的 Ubuntu 系统,但它显示错误,因为克隆到 'hipi'... 权限被拒绝(公钥) . 致命:远端意外挂断。如何解决这个错误?
如果您克隆到您拥有用户权限的目录(/home/user/git),它将正常工作。
您可以使用 HTTPS 版本进行克隆。这将需要您使用 Git 凭据而不是使用 ssh 密钥。
git clone https://github.com/uvagfx/hipi.git
检查了这里发布的几乎所有选项.. 但我发现有用的是从 cpanel 备份数据库和从文件管理器中备份文件,然后恢复它。