forked from finn/tinyboard
prepare for second tunnel
This commit is contained in:
@@ -7,3 +7,12 @@ shell_type = unix
|
|||||||
md5sum_command = md5sum
|
md5sum_command = md5sum
|
||||||
sha1sum_command = sha1sum
|
sha1sum_command = sha1sum
|
||||||
|
|
||||||
|
#[new-remote]
|
||||||
|
#type = sftp
|
||||||
|
#host = localhost
|
||||||
|
#port = 11112
|
||||||
|
#key_file = /home/armbian/.ssh/a new priv key for tunnel back to new spoke
|
||||||
|
#shell_type = unix
|
||||||
|
#md5sum_command = md5sum
|
||||||
|
#sha1sum_command = sha1sum
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ services:
|
|||||||
network_mode: host
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
- AUTOSSH_GATETIME=0
|
- AUTOSSH_GATETIME=0
|
||||||
|
# @@@@@@@@@ BEWARE THE REVERSE TUNNEL PORT AND KEYS WHEN RUNNING THIS ON A NEW SPOKE @@@@@@@@@@
|
||||||
command: >
|
command: >
|
||||||
autossh -M 0 -NT
|
autossh -M 0 -NT
|
||||||
-o "ServerAliveInterval=60"
|
-o "ServerAliveInterval=60"
|
||||||
|
|||||||
Reference in New Issue
Block a user