jbwhit / svds-style

MIT License
4 stars 3 forks source link

Add rsub and SublimeText remote edit #16

Open cfperez opened 7 years ago

cfperez commented 7 years ago

Requires installing rsub package in SublimeText, adjusting .ssh/config, and installing rsub on remote host.

http://log.liminastudio.com/writing/tutorials/sublime-tunnel-of-love-how-to-edit-remote-files-with-sublime-text-via-an-ssh-tunnel

Then on remote host (assumes ~/bin is on PATH):

wget -O $HOME/bin/rsub https://raw.github.com/aurora/rmate/master/rmate
chmod +x $HOME/bin/rsub
rsub any_file

will open the file on local Sublime tab.

rdrushal commented 7 years ago

Note: I was able to get this working on a windows environment as well using SSH tunnels w/ PuTTY.

@jbwhit - When do we get this implemented?

jbwhit commented 7 years ago

https://github.com/henrikpersson/rsub http://til.tdhopper.com/notes/faster-ssh-access-to-remote-computers