I followed the tutorial here to set up ssh for github in cygwin on Window 7. However, every time I do git push origin master
, I keep being prompted the following:
Enter passphrase for /cygdrive/c/Users/mynameis/.ssh/id_rsa:
This is so annoying because it beats the purpose of setting up ssh in the first place. I don't understand why it keeps prompting me for a password because when I did the same thing with my Mac and everything just worked fine and smooth.
I tried other solutions like: adding eval ssh-agent -s
into my .bashrc
. But the problem still remains. I suspect the problem has to do with ssh-agent
or ssh-add
in cygwin on Window 7. How can I get around this problem ?