Преглед изворни кода

auto update script executed

tobychui пре 1 година
родитељ
комит
120279bcca
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mod/sshprox/sshprox.go

+ 1 - 1
mod/sshprox/sshprox.go

@@ -144,7 +144,7 @@ func (i *Instance) CreateNewConnection(listenPort int, username string, remoteIp
 	if remotePort != 22 {
 		title = title + ":" + strconv.Itoa(remotePort)
 	}
-	cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "--once", "--config", configPath, "--title-format", title, "ssh", "-tt", connAddr, "-p", strconv.Itoa(remotePort))
+	cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "--once", "--config", configPath, "--title-format", title, "ssh", "-t", connAddr, "-p", strconv.Itoa(remotePort))
 	cmd.Dir = filepath.Dir(i.ExecPath)
 	cmd.Stdout = os.Stdout
 	cmd.Stderr = os.Stderr