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); }
internal static void SaveSSHData(string path, SSHLog log) { SaveLogFile(path, Logger.LoggerTypes.sshlog.ToString(), log); }