I work at win7 and set up git server with sshd.
I git --bare init myapp.git
, and clone ssh://git@localhost/home/git/myapp.git
in Cywgin
Got the same error too when connecting to GitHub with ssh as I move from one workplace to another. according to my situation, it seems that dns servers of different networks may get various ip address of github and the known_hosts file not identify it when changes happened. So change dns or switch back original network may work.