tunnel, fix the ssh command.

This commit is contained in:
me
2026-10-17 16:57:25 -07:00
parent 44a0463ab8
commit 1de11bc2d9
+1 -1
View File
@@ -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"