Hi,

Last week I got a new VDI at work. As the first I installed cygwin.
I found that I could not pull from our git repo.
I then went to my old VDI, updated cygwin, and found that I could not
git pull here either.
It is the permissions on my id_rsa file that is the problem, right?
If so, how do I fix it (I can't change with chmod)?

$ git pull
Enter passphrase for key '/home/morten/.ssh/id_rsa':
sign_and_send_pubkey: signing failed for RSA
"/home/morten/.ssh/id_rsa": error in libcrypto
git@gitprod: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

$ git pull
sign_and_send_pubkey: signing failed for RSA
"/home/morten/.ssh/id_rsa" from agent: agent refused operation
git@gitprod: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

$ ls -la .ssh/id*
-rw-r--r-- 1 morten Domain Users 3434 Jul 15 11:11 .ssh/id_rsa
-rw-r--r-- 1 morten Domain Users  739 Jul 15 11:11 .ssh/id_rsa.pub

$ chmod 600 .ssh/id*

$ ls -la .ssh/id*
-rw-r--r-- 1 morten Domain Users 3434 Jul 15 11:11 .ssh/id_rsa
-rw-r--r-- 1 morten Domain Users  739 Jul 15 11:11 .ssh/id_rsa.pub

/Morten

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to