Skip to content

Instantly share code, notes, and snippets.

@JanhaviDadhania
Forked from NTag/remoteAtom.md
Created September 29, 2020 16:33
Show Gist options
  • Save JanhaviDadhania/3ffc115c2b60152bc9fe7da82c078a78 to your computer and use it in GitHub Desktop.
Save JanhaviDadhania/3ffc115c2b60152bc9fe7da82c078a78 to your computer and use it in GitHub Desktop.
How to install and use remote-atom

Installation

  1. Install Atom on your computer (https://atom.io)

  2. Launch Atom, go in Preferences, then chose Install, search for "remote-atom", and install it

  3. On the distant machine:

    cd ~
    wget https://raw.githubusercontent.com/aurora/rmate/master/rmate
    chmod +x rmate

How to use it

  1. Launch Atom on your computer
  2. Go in Packages > Remote Atom > Start Server
  3. ssh to the distant machine and add the option -R 52698:localhost:52698 (for example for me it is: ssh -R 52698:localhost:52698 ntag@ntag.fr)
  4. On the distant machine, just do ~/rmate /path/to/my/file/i/want/to/open to open it on Atom on your computer :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment