瀏覽代碼

auto update script executed

Toby Chui 2 年之前
父節點
當前提交
1ddb660e02
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mod/sshprox/sshprox.go

+ 1 - 1
mod/sshprox/sshprox.go

@@ -140,7 +140,7 @@ func (i *Instance) CreateNewConnection(listenPort int, username string, remoteIp
 		connAddr = username + "@" + remoteIpAddr
 	}
 	configPath := filepath.Join(filepath.Dir(i.ExecPath), ".gotty")
-	cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "--once", "--config", configPath, "--term", "hterm", "ssh", connAddr, "-p", strconv.Itoa(remotePort))
+	cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "--once", "--config", configPath, "ssh", connAddr, "-p", strconv.Itoa(remotePort))
 	cmd.Dir = filepath.Dir(i.ExecPath)
 	cmd.Stdout = os.Stdout
 	cmd.Stderr = os.Stderr