ssssh
This commit is contained in:
parent
e7173e27d6
commit
5f3d2cad26
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ proc activateTunnel(name: string, port: int) =
|
|||
echo "activating connection to: ", name
|
||||
if not check(name):
|
||||
startSsh(name)
|
||||
quit execCmd &"""ssh -fNL "{port}:localhost:{port}" {name}"""
|
||||
quit execCmd &"""ssh -fqNL "{port}:localhost:{port}" {name}"""
|
||||
|
||||
proc deactivateTunnels(name: string) =
|
||||
echo "deactivating connection to: ", name
|
||||
|
|
Loading…
Reference in a new issue