I have a public/private rsa key pair. I can connect to remote server with ssh, but when I do git pull origin master
I get this error:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal:
Could not read from remote repository.
Please make sure you have the correct access rights and the repository
exists.
My git client run ubuntu 14.04
and my public private key is in the folder $HOME.ssh
.
I tried to do sudo chmod -R 777 folder
but without any success.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…