Skip to content

Commit

Permalink
adjusting monitor-port
Browse files Browse the repository at this point in the history
  • Loading branch information
ineiti committed Jan 23, 2018
1 parent 5102ffc commit 15b306c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simul/platform/deterlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func (d *Deterlab) Start(args ...string) error {
// proxy => the proxy redirects packets to the same port the sink is
// listening.
// -n = stdout == /Dev/null, -N => no command stream, -T => no tty
redirection := strconv.Itoa(d.MonitorPort+1) + ":" + d.ProxyAddress + ":" + strconv.Itoa(d.MonitorPort)
redirection := strconv.Itoa(d.MonitorPort) + ":" + d.ProxyAddress + ":" + strconv.Itoa(d.MonitorPort)
cmd := []string{"-nNTf", "-o", "StrictHostKeyChecking=no", "-o", "ExitOnForwardFailure=yes", "-R",
redirection, fmt.Sprintf("%s@%s", d.Login, d.Host)}
exCmd := exec.Command("ssh", cmd...)
Expand Down

0 comments on commit 15b306c

Please sign in to comment.