Skip to content

Instantly share code, notes, and snippets.

@aktowns
Created December 12, 2011 23:34
Show Gist options
  • Save aktowns/1469661 to your computer and use it in GitHub Desktop.
Save aktowns/1469661 to your computer and use it in GitHub Desktop.

rmate via ssh tunnel

on the client (texmate box) run the following

ssh -R 52698:localhost:52698 [target host or ip]

or

add the following to your ssh config entry inside a Host block

RemoteForward 52698 localhost:52698

###once logged in run

wget -O /somewhere/in/your/$PATH http://bit.ly/vAEbgj   
chmod +x /wherever/you/put/the/above/file    
rmate /path/to/your/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment