Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rsub
# https://github.com/henrikpersson/rsub
# http://chen.do/blog/2013/09/16/editing-files-on-a-remote-server-with-sublime-text-2/
# http://www.lleess.com/2013/05/how-to-edit-remote-files-with-sublime.html
# http://leon.radley.se/2012/03/sublime-text-2-rsub/
$ ssh -R 52698:127.0.0.1:52698 user@example.org
=================================================================================
~/.ssh/config
Host *.domain.com
RemoteForward 52698 127.0.0.1:52698
=================================================================================
$ sudo wget -O /usr/local/bin/rsub https://raw.github.com/aurora/rmate/master/rmate
$ sudo chmod +x /usr/local/bin/rsub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment