在使用Tower和sourcetree工具Fetch捧毛、Pull吼畏、Push時(shí)遇到如下問(wèn)題
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
一、臨時(shí)解決辦法
使用命令行懈万,手動(dòng)輸入sshkey的密碼即可
? MeiJiaShi git:(developer) ? git push
Enter passphrase for key '/Users/zhaopeng/.ssh/id_rsa':
二拴清、
使用命令重新生成一個(gè)sshkey 添加到gitlab服務(wù)器的sshkey list即可
ssh-keygen -t rsa -C "GitLab" -b 4096