1
我一直有这个奇怪的问题。我刚刚将我的Mac升级到sierra,并为github生成了一个新的ssh密钥。必须不断删除/添加ssh密钥github
的问题是,添加我的SSH密钥来gihub和它的作品像15分钟,然后之后,我得到一个错误
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
所以我最终会做
pbcopy < ~/.ssh/id_rsa.pub
我删除github中的ssh密钥并重新添加。我必须每15分钟继续这样做。有没有人有任何线索是什么问题?
我跟着步骤,问题仍然存在。我正在与github企业一起使用它。也许这是一个问题。我也注意到我的ssh密钥在'github'的ssh密钥页面上写了'没有用过',就像15分钟之后一样。这很令人费解。 – blessenm