public string GetPuttyKeyFileForRemote(string remote)
{
if (string.IsNullOrEmpty(remote) ||
string.IsNullOrEmpty(AppSettings.Pageant) ||
!AppSettings.AutoStartPageant ||
!GitCommandHelpers.Plink())
return "";
return GetPathSetting(string.Format("remote.{0}.puttykeyfile", remote));
}