Last active
August 29, 2015 14:10
-
-
Save marc-hanheide/1146cf95993ea281c453 to your computer and use it in GitHub Desktop.
autossh connection for ROS live streaming
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
# enable reverse port forwarding in firewall settings: | |
# 8181: mjpegserver | |
# 9090: rosws | |
# 22222: reverse ssh | |
AUTOSSH_POLL=5 AUTOSSH_FIRST_POLL=5 autossh -M 6000 harek -R8181:localhost:8181 -R9090:localhost:9090 -R22222:localhost:22 | |
# put this in your `.ssh/config` | |
Host harek | |
TCPKeepAlive yes | |
ServerAliveInterval 20 | |
ProxyCommand /usr/local/bin/proxytunnel -p lcas.lincoln.ac.uk:443 -E -d localhost:22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment