-
Add Remote Forwading by default for all hosts. Open ~/.ssh/config file and add these lines
Host * RemoteForward 52698 127.0.0.1:52698 -
Open Sublime Text, Install rsub package using package control.
-
You're done.
Last active
July 10, 2017 14:36
-
-
Save v1shwa/171e1f9befbb79db51a7655b49e6ce5d to your computer and use it in GitHub Desktop.
Editing Remote files with Sublime Text Raw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| wget -O /tmp/subl https://raw.github.com/aurora/rmate/master/rmate | |
| chmod +x /tmp/subl | |
| echo "alias subl=\"/tmp/subl\"" >> ~/.bashrc | |
| source ~/.bashrc | |
| echo "Remote sublime setup is done. Now you can use: subl <filename>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment