citmusa
5/5/2014 - 3:00 AM

using sublime text to edit files over ssh

using sublime text to edit files over ssh

install 'rsub' sublime package

run on remote server:

# may want to edit /usr/local/bin to suit your PATH
sudo wget -O /usr/local/bin/subl https://raw.github.com/aurora/rmate/master/rmate --no-check-certificate; sudo chmod +x /usr/local/bin/subl

run on local server

ssh -R 52698:localhost:52698 username@re.mo.te.ip
# e.g. ssh -R 52698:localhost:52698 root@192.168.33.11

Tested and working on OS X Mavericks with Sublime Text 3 using a Vagrant instance as the remote server .