Skip to content

Instantly share code, notes, and snippets.

@marc-hanheide
Last active August 29, 2015 14:10
Show Gist options
  • Save marc-hanheide/1146cf95993ea281c453 to your computer and use it in GitHub Desktop.
Save marc-hanheide/1146cf95993ea281c453 to your computer and use it in GitHub Desktop.
autossh connection for ROS live streaming
# 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