Install rmate (for using rsub)
By
montemartin // 7 years ago
If Sublime Text is your editor of choice working on a server can be a pain. Switching to Vim or Nano isn't intuitive at all.
Rmate (https://github.com/aurora/rmate) allows you to edit server side files locally using Textmate. Then you can install rsub (https://github.com/henrikpersson/rsub) locally to open and edit your files directly in Sublime Text.
Credit: https://wrgms.com/editing-files-remotely-via-ssh-on-sublimetext-3/