

Go to Preferences (Ctrl+Alt+P) and click on Transfer, then on Add.This, in addition to an SSH terminal to the machine gives me a fairly seamless remote editing experience. In the sftp-config, I usually set: "upload_on_save": true, Right click the folder in step 1 select download.In the sidebar, right click on the folder and select Map Remote.It's reliable and doesn't care which editor you use.If you can't install software on your Linux box, the best is Unison. When invoking subl if it complains for a certain library - ensure you install them to successfully invoke sublimetext from mobaxterm. There might be a teeny amount of a delay, but your files will never be out of sync, because you're editing them right on the Linux machine. This is possible because MobaXterm handles the X11 forwarding over SSH for you so you don't have to do anything funky to get it going. That's it! You now have sublime text running on Linux, but with its window running on your Windows desktop.At the command prompt, start sublime with subl.On your linux box, install Sublime Text 3.The fourth way is the best if you can install software on your Linux machine. I'm on Windows and have used 4 methods: SFTP, WinSCP, Unison and Sublime Text on Linux with X11 forwarding over SSH to Windows (yes you can do this without messy configs and using a free tool). Here's a good tutorial on how to set it up properly. Rsub is an implementation of TextMate 2's 'rmate' feature for Sublime Text 2, allowing files to be edited on a remote server using SSH port forwarding / tunnelling. You can use rsub, which is inspired on TextMate's rmate. Hack together something like rmate which does file editing over remote tunneling using some kind of a local daemon (very difficult, cumbersome, but sudo compatible) Īlso, in theory, you can install X11 on the remote server and run Sublime there over VNC or X11 forwarding, but there would be no point doing this. This might be little difficult, depending on OSX version and your skills with UNIX file systems. Mount the remote as local file system using osxfuse and sshfs as mentioned in the comments. Use SFTP plugin (commercial) - I personally recommend this, as after settings public SSH keys with passphrase it is safe, easy and worth every penny
