Fix: Overwrite ControlPath
as otherwise the sish server crashes Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6715bdf685
commit
8360afca7d
1 changed files with 1 additions and 1 deletions
|
@ -39,4 +39,4 @@ port="${1:-}"
|
||||||
|
|
||||||
step "Starting port-forward..."
|
step "Starting port-forward..."
|
||||||
vault-sshadd ${key}
|
vault-sshadd ${key}
|
||||||
exec /usr/bin/ssh -R "${remote}:${host}:${port}" "${args[@]}"
|
exec /usr/bin/ssh -o ControlPath=/tmp/shareport-${port} -R "${remote}:${host}:${port}" "${args[@]}"
|
||||||
|
|
Loading…
Reference in a new issue