public static bool AskForCacheHostkey(IWin32Window owner, GitModule module, string remoteUrl)
{
if (!remoteUrl.IsNullOrEmpty() && MessageBoxes.CacheHostkey(owner))
{
module.RunExternalCmdShowConsole(
"cmd.exe",
string.Format("/k \"\"{0}\" -T \"{1}\"\"", AppSettings.Plink, remoteUrl));
return true;
}
return false;
}