Skip to content
Snippets Groups Projects
Commit 4a73870f authored by Chris Hines's avatar Chris Hines
Browse files

gahh! missing -N

parent 67f2a9e3
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!45Test,!44Dev
Pipeline #11917 passed
This commit is part of merge request !45. Comments created here will be created in the context of that merge request.
......@@ -411,6 +411,7 @@ class Ssh:
sshcmd.extend([
'-L', '127.0.0.1:{localport}:{batchhost}:{port}'.
format(port=port, localport=localport, batchhost=batchhost),
'-N',
'-O', 'forward', '-S', ctrlsocket,
'-p', sshport, '-l', user, host])
else:
......@@ -426,6 +427,7 @@ class Ssh:
'-o', "ProxyCommand={}".format(proxycmd),
'-L', '127.0.0.1:{localport}:localhost:{port}'.
format(port=port, localport=localport),
'-N',
'-p', sshport, '-l', user, batchhost])
logger.debug('starting tunnel with {}'.format(" ".join(sshcmd)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment