##// END OF EJS Templates
never use ssh multiplexer in tunnels...
MinRK -
Show More
@@ -214,7 +214,7 b" def openssh_tunnel(lport, rport, server, remoteip='127.0.0.1', keyfile=None, pas"
214 server, port = server.split(':')
214 server, port = server.split(':')
215 ssh += " -p %s" % port
215 ssh += " -p %s" % port
216
216
217 cmd = "%s -f -L 127.0.0.1:%i:%s:%i %s sleep %i" % (
217 cmd = "%s -f -S none -L 127.0.0.1:%i:%s:%i %s sleep %i" % (
218 ssh, lport, remoteip, rport, server, timeout)
218 ssh, lport, remoteip, rport, server, timeout)
219 tunnel = pexpect.spawn(cmd)
219 tunnel = pexpect.spawn(cmd)
220 failed = False
220 failed = False
General Comments 0
You need to be logged in to leave comments. Login now