Need help with rsub?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

henrikpersson
447 Stars 60 Forks 71 Commits 35 Opened issues

Description

Use rmate with Sublime Text.

Services available

!
?

Need anything else?

Contributors list

# 56,588
beansta...
Sublime...
Shell
carbon
8 commits
# 435,683
Python
Shell
6 commits
# 167,637
CSS
React
firebas...
React N...
3 commits
# 53,483
Sublime...
The Jul...
juliala...
sublime
2 commits
# 547,163
Python
Shell
2 commits
# 212,532
otf
Qt
WPF
Erlang
2 commits
# 177,279
React
CSS
css-mod...
Twitch
2 commits
# 348,452
Shell
Atom
atom-pa...
C
1 commit
# 10,911
Shell
data-wr...
Less
wikidat...
1 commit
# 588,415
HTML
Objecti...
Shell
1 commit
# 131,534
CSS
Shell
C
doh
1 commit
# 14,955
JavaScr...
React
oauth2
pivot-t...
1 commit
# 307,659
gulp-pl...
Sublime...
Visual ...
phpstor...
1 commit
# 115,640
Sublime...
fish-sh...
fisher
CSS
1 commit
# 90,943
Shell
XML
TeX
Twitter
1 commit
# 218,167
cockroa...
sqlserv...
SQL
mariadb
1 commit
# 26,900
CSS
Shell
Terrafo...
golang
1 commit

rsub

Description

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.

Included in this repository are two implementations of the 'rmate' command, the original written in Ruby, and another version written using bash scripting. You will need to choose and copy one of these up to your server, usually with scp, sftp, or plain FTP. See the README file inside rmate-bash for more detail.

Installation

You can install this plugin using sublime package control. It will keep all your plugins up to date. http://wbond.net/sublimepackages/packagecontrol


OR

You can also clone this repository into the Sublime Text 2 'Packages' directory, but you will have to update it manually.

On Mac OS X, this is located at

~/Library/Application Support/Sublime Text 2/Packages
.

Run the following commands in Terminal, then restart Sublime Text 2:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/henrikpersson/rsub.git rsub

SSH tunneling

Due to security reasons, rsub is only listening for local connections.

Simply put this in your ~/.ssh/config to enable remote forwarding for your server(s):

Host example.com
    RemoteForward 52698 127.0.0.1:52698

Usage

Once you have

rmate
installed on your remote server (installation instructions can be found here),
rsub
installed on your local machine and an ssh tunnel open, execute the following command on your remote server to edit files in SublimeText:
rmate 

More information on command line options can be found in the rmate repository.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.