> > the user if the host key is not cached. So I typed "%GIT_SSH% > > github.com" at the cmd prompt and then accepted the host key as > > presented (hoping that MITM attackers were away, how can > you verify it > > separately?), which added it to the cache. After that git.cmd push > > worked. Call me out as a plink.exe novice, if you must. > > This is exactly the problem I was complaining about when I > wrote my plink/custom port patch. Plink *does* attempt to be > interactive. > However, there's a problem between stdin communication between git > (MingW?) and plink (native Windows apps?). No one I've talked > to has a solution for this problem, unfortunately.
We could probably write another cmd wrapper script (that GIT_SSH points to) that contains something like echo y | plink %* hoping that the "y" will no no harm if the server key already is in the cache. -- Sebastian
