Show More
@@ -214,7 +214,7 b" def openssh_tunnel(lport, rport, server, remoteip='127.0.0.1', keyfile=None, pas" | |||
|
214 | 214 | server, port = server.split(':') |
|
215 | 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 | 218 | ssh, lport, remoteip, rport, server, timeout) |
|
219 | 219 | tunnel = pexpect.spawn(cmd) |
|
220 | 220 | failed = False |
General Comments 0
You need to be logged in to leave comments.
Login now