我在使用 ssh 克隆 git 存储库时遇到了一个奇怪的问题。我有 ssh 设置:
\n\nssh -T git@github.com\nHi yusufali2205! You've successfully authenticated, but GitHub does not provide shell access.\nRun Code Online (Sandbox Code Playgroud)\n\n我正在使用正确的克隆 URL,并且可以访问我想要克隆的存储库。但出现错误:
\n\n\xe2\x9e\xa4 git clone git@github.com:<some-org>/<repo>.git\nCloning into 'project'...\nPermission denied (publickey).\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\nRun Code Online (Sandbox Code Playgroud)\n\n没有其他消息可以调试我的 ssh 设置或 git 配置有什么问题。
\n