From: Patrick Sharp Date: Wed, 22 Apr 2015 14:36:45 GMT Subject: [BUG] having 'plink' anywhere in the GIT_SSH environment variables sets putty = true Message-ID: <2A6FFC1D-5479-4DCA-A5E5-FF92DE0AA552@gmail.com> The plink string detection in GIT_SSH for setting putty to true is very broad. If plink is anywhere in the path to the shell file then putty gets set to true and ssh will fail trying to parse -batch as the hostname. Wouldn’t searching for plink.exe be better?