From 548fdf7172cee21fd788a03c50c6811a98995496 Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Sun, 28 Feb 2021 10:15:15 +0100 Subject: [PATCH] remove ssh option ClearAllForwardings=yes (it doesn't do what I thought it did) --- lib/safe-harbor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/safe-harbor.py b/lib/safe-harbor.py index 2c0918a..97c382f 100755 --- a/lib/safe-harbor.py +++ b/lib/safe-harbor.py @@ -38,7 +38,7 @@ if __name__ == "__main__": print("! unable to load any configuration") sys.exit(1) - command = ["/usr/bin/ssh", "-o", "ServerAliveInterval=45", "-o", "ServerAliveCountMax=2", "-o", "ExitOnForwardFailure=yes", "-o", "ClearAllForwardings=yes", "-N", "-p", str(safe_get(cfg, "port", 22))] + command = ["/usr/bin/ssh", "-o", "ServerAliveInterval=45", "-o", "ServerAliveCountMax=2", "-o", "ExitOnForwardFailure=yes", "-N", "-p", str(safe_get(cfg, "port", 22))] for m in cfg["mapping"]: command.append("-R")