diff --git a/ssh/run.go b/ssh/run.go index 8052dd8..dafd0fd 100644 --- a/ssh/run.go +++ b/ssh/run.go @@ -292,6 +292,7 @@ func (r *Run) setPortForwards(server string, config conf.ServerConfig) (c conf.S fw := new(conf.PortForward) fw.Mode = c.PortForwardMode fw.Local = c.PortForwardLocal + fw.Remote = c.PortForwardRemote c.Forwards = append(c.Forwards, fw) }