Skip to content

Instantly share code, notes, and snippets.

@NTag
Last active December 19, 2023 12:09
Show Gist options
  • Save NTag/9d9be611e03098c282241652894bda7f to your computer and use it in GitHub Desktop.
Save NTag/9d9be611e03098c282241652894bda7f 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