tunnel, fix the ssh command.
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
content: |
|
content: |
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
exec chpst -u {{ user }} ssh -v -H \
|
exec chpst -u {{ user }} ssh -v -N \
|
||||||
-R {{ tunnel_remote_port }}:localhost:{{ tunnel_local_port }} \
|
-R {{ tunnel_remote_port }}:localhost:{{ tunnel_local_port }} \
|
||||||
-p {{ tunnel_ssh_port }} {{ tunnel_remote_host }}
|
-p {{ tunnel_ssh_port }} {{ tunnel_remote_host }}
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|||||||
Reference in New Issue
Block a user