How to fix Cygwin using wrong .ssh directory no matter what I do?
<p>On my Cygwin machine <code>$HOME</code> is <code>cygwdrive/c/Users/me</code> (i.e. not the sometimes default of <code>/home/me</code>) which I appreciate.</p>

<p>However, when I am using git, and trying to use ssh keys, it always checks in <code>/home/me/.ssh</code> for my keys.</p>

<p>To get around this, I tried <a href="https://stackoverflow.com/a/11251797/3291506">this solution</a> however, putting a <code>config</code> file in <code>~/.ssh</code> doesn't work because I then have copy that same file to <code>/home/me/.ssh</code> because that is where git (when run from Cygwin) looks.</p>

<p>Is there some way I can avoid this?  As it stands right now I have to duplicate the file in each place or link them (which I want to avoid).  What I do not understand is why git insists on thinking my home folder is different than it actually is.</p>