1
0
forked from finn/site

initial working ssh entry

This commit is contained in:
2024-08-09 18:47:22 -07:00
parent 619ce9b0bd
commit 979adc3b13
5 changed files with 59 additions and 59 deletions

8
sshtun/entrypoint.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Container goal:
# autossh -N -R 11111:localhost:11434 -i sshtun/oilykey/<SOMEKEY> -p 22222 <SOMEURL>
# forwards rem_c_port:(operator_pc:op_pc_port) ...some args... rem_host_p rem_host_url
nohup socat TCP-LISTEN:11112,fork TCP:localhost:11111 &
/usr/sbin/sshd -D