I debug the problem for an hour or two.
I am currently using Gitlab and Mac OS X 10.9.2.
Today I tried git pull origin master from our main branch so that I could develop the latest version. I always used these configurations and I donβt remember changing anything. This configuration always worked and never asked me for a password. Today I got this error:
My-MacBook-Pro: loop_name loop $ git main pull source
git @domain password:
Here are my permissions ~/.ssh/ :
My-MacBook-Pro:.ssh loop$ ls -l total 24 -rw------- 1 loop staff 1766 Oct 31 2013 github_rsa -rw-r--r-- 1 loop staff 403 Oct 31 2013 github_rsa.pub -rw-r--r-- 1 loop staff 2408 Sep 15 15:08 known_hosts
I tried different things:
reboot com.openssh.sshd
restart org.openbsd.ssh-agent
I made sure that my public key in Gitlab is the same as my github_rsa.pub , and it really was the same.
I uncommented sshd_config to PasswordAuthentication no
Checked /var/log/authd.log for errors related to SSH, but nothing is relevant.
What could be the problem?
source share