I recently posted a question regarding Git Bash referencing an old GitHub account username. Refer to that post here: Original Post
Now I'm completely convinced that Windows is somehow storing my ssh info and using that for my Git bash session. When ever I try to push to a remote repo, it keeps stating that
remote: Permission to MYUSERNAME/project.git denied to OLD-USER-NAME
I've changed everything I could. I have searched every directory I could looking for any reference of my old username and can't find anything. I have repeated the SSH key generation process at least 3 times with no luck. Why does it keep bringing up my old username?
So my question, does Windows have some type of caching system for ssh keys? Even though I am explicitly loading my new key, it keeps bringing up reference to my old user name. The only thing I can think is that my ssh agent isn't using my new key, and then when it attempts to connect to github, it sees the old key and associates it with my old username. But again, it doens't make sense due to the fact that I deleted the old key from my old GitHub account...
I'm about to kill Git..