Пример #1
0
 public static string LoadPutty(SSHLog v, SecureString s)
 {
     try
     {
         Process.Start("C:\\Program Files (x86)\\PuTTY\\putty.exe", "-ssh " + v.Username + "@" + v.IPHostname + " -pw \"" + SecureHelper.ConvertToUnsecureString(s).Replace(@"""", @"\"""));
     }
     catch { }
     return(string.Empty);
 }
Пример #2
0
 internal static void SaveSSHData(string path, SSHLog log)
 {
     SaveLogFile(path, Logger.LoggerTypes.sshlog.ToString(), log);
 }