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