Commit 807d926c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Set SSH's ClearAllForwardings and ForwardAgent options.

Reviewed-by: iustinp
parent 180bdd1f
......@@ -108,6 +108,8 @@ def GetSSHCommand(node, cmd, strict=True):
else:
tmp = 'no'
args.append('-oStrictHostKeyChecking=%s' % tmp)
args.append('-oClearAllForwardings=yes')
args.append('-oForwardAgent=yes')
args.append(node)
if options.dry_run:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment