Skip to content

Instantly share code, notes, and snippets.

@v1shwa
Last active July 10, 2017 14:36
Show Gist options
  • Save v1shwa/171e1f9befbb79db51a7655b49e6ce5d to your computer and use it in GitHub Desktop.
Save v1shwa/171e1f9befbb79db51a7655b49e6ce5d to your computer and use it in GitHub Desktop.

Revisions

  1. v1shwa revised this gist Jul 10, 2017. 1 changed file with 7 additions and 2 deletions.
    9 changes: 7 additions & 2 deletions sublime_remote_setup.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,11 @@
    - Open Sublime Text, Install **rsub** package using package control.
    - You're done.
    - Done.
    # Remote Server Setup
    # Remote Server Setup
    - SSH in to the server.
    - Run:
    `curl -sSL https://git.io/vQPSM | bash`
    - Done
  2. v1shwa revised this gist Jul 10, 2017. 3 changed files with 14 additions and 12 deletions.
    12 changes: 0 additions & 12 deletions client_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,12 +0,0 @@
    # 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.
    14 changes: 14 additions & 0 deletions sublime_remote_setup.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    # Client Setup

    - 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.
    # Remote Server Setup
    File renamed without changes.
  3. v1shwa created this gist Jul 10, 2017.
    12 changes: 12 additions & 0 deletions client_setup.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # 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.
    7 changes: 7 additions & 0 deletions server_setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/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>"