github帐户的ssh问题
我最近使用网站上推荐的步骤向我的github帐户添加了一个ssh密钥。github帐户的ssh问题,git,github,ssh,ssh-keys,Git,Github,Ssh,Ssh Keys,我最近使用网站上推荐的步骤向我的github帐户添加了一个ssh密钥。 当我尝试从我所属的组织克隆回购时,会收到以下错误消息: ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 我非常确定我有正确的访问权限,因为我可以使用HTTPS进行克
当我尝试从我所属的组织克隆回购时,会收到以下错误消息:
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我非常确定我有正确的访问权限,因为我可以使用HTTPS进行克隆。有人知道这个问题的简单解决方案吗?首先,确保使用的URL是正确的(区分大小写),并使用用户“
git
”(不是您的GitHub帐户名)
git克隆git@github.com:
- 私钥可能是使用密码短语创建的(这意味着您需要ssh代理)
- 可以定义环境变量
GIT\u SSH
(并引用openssh以外的内容)
git clone git@github.com:<aUser>/<aRepository>
^^^^