|
@@ -88,7 +88,7 @@ func (m *Manager) NewSSHProxy(binaryRoot string) (*Instance, error) {
|
|
func (i *Instance) CreateNewConnection(listenPort int, remoteIpAddr string, remotePort int) error {
|
|
func (i *Instance) CreateNewConnection(listenPort int, remoteIpAddr string, remotePort int) error {
|
|
|
|
|
|
//Create a gotty instance
|
|
//Create a gotty instance
|
|
- cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "-a", "127.0.0.1", "--once", "--ws-origin", ".*", "ssh", remoteIpAddr, "-p", strconv.Itoa(remotePort))
|
|
|
|
|
|
+ cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "-a", "127.0.0.1", "--once", "ssh", remoteIpAddr, "-p", strconv.Itoa(remotePort))
|
|
cmd.Stdout = os.Stdout
|
|
cmd.Stdout = os.Stdout
|
|
cmd.Stderr = os.Stderr
|
|
cmd.Stderr = os.Stderr
|
|
go func() {
|
|
go func() {
|