The problem may be persisting because git
and cygwin
have different .ssh
directories.
When you do ssh git@github
it uses the one specified in .ssh
folder of cygwin
, but when you do a git pull
it uses the id_rsa
present in git bash's .ssh
folder.
See my question => ssh clone not cloning repo in git