Skip to content

Instantly share code, notes, and snippets.

@wenboown
Created February 18, 2023 06:22
Show Gist options
  • Select an option

  • Save wenboown/969e22cc71bb01adf73380a93331be6e to your computer and use it in GitHub Desktop.

Select an option

Save wenboown/969e22cc71bb01adf73380a93331be6e to your computer and use it in GitHub Desktop.
setup rsub
  1. install rsub in sublime package: https://github.com/henrikpersson/rsub

  2. use port forwarding with control. ~/.ssh/config:

Host *
 AddKeysToAgent yes
 UseKeychain yes
 IdentityFile ~/.ssh/id_rsa
 RemoteForward 52698 127.0.0.1:52698
 ControlMaster auto
 ControlPath ~/.ssh/ssh_mux_%r@%h:%p 
  1. setup on remote server:
sudo wget -O /usr/local/bin/rsub https://raw.github.com/aurora/rmate/master/rmate
sudo chmod +x /usr/local/bin/rsub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment