git@gitlab.xxx.com:Permission denied (publickey). fatal: Could not read from remote repository.

重裝了系統,私鑰備份到了d盤。因此 cd ~/.ssh 目錄下沒有id_rsa 文件,複製d盤的過去。而後git pull,成功.或者可使用ssh -T git@gitlab.xx.com 測試 git
相關文章
相關標籤/搜索