private static bool UseSsh(string arguments) { var x = !Plink() && GetArgumentsRequiresSsh(arguments); return x || arguments.Contains("plink"); }