remove ssh option ClearAllForwardings=yes (it doesn't do what I thought it did)
This commit is contained in:
parent
4e99239a87
commit
548fdf7172
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue