Last active
October 19, 2020 03:54
-
-
Save jjlorenzo/ac730b3b8de9644a72b185c909170168 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -R 52698:localhost:52698 demr-web01 | |
nc -l -k -p 52699 -c "nc 127.0.0.1 52698" | |
ssh -g -L 172.17.0.1:52699:localhost:52698 -N localhost | |
rmate -p 52699 --host 172.17.0.1 /src/update-container-app | |
######################## | |
1.- | |
/etc/ssh/sshd_config | |
GatewayPorts clientspecified | |
2.- | |
ssh -R 172.17.0.1:52698:localhost:52698 -R 52698:localhost:52698 demr-web01 | |
3.- | |
rmate --host 172.17.0.1 /src/update-container-app | |
sudo socat tcp-listen:80,reuseaddr,fork tcp:localhost:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment