- Install
rmate
on the remote server
sudo wget -O /usr/local/bin/rsub https://raw.github.com/aurora/rmate/master/rmate && sudo chmod a+rx /usr/local/bin/rsub
- Modify your
~/.ssh/config
file on your local machine
Host *
RemoteForward 52698 127.0.0.1:52698
-
Install
rsub
package to Sublime Text 3 on your local machine -
SSH into remote machine, type
rsub
and then a filename to edit the file on your local machine with Sublime Text 3.
For Windows w/PuTTY follow this guide