Skip to content

Instantly share code, notes, and snippets.

@NTag

NTag/remoteAtom.md

Last active Sep 29, 2020
Embed
What would you like to do?
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