remote-atom SSH File Editing

Directly Editing Files While SSH'ing with Remote Atom

This article introduces how to directly edit files while SSH'ing using the rmate command.

Shou Arisaka
1 min read
Nov 22, 2025

This article introduces how to directly edit files while SSH’ing using the rmate command.

Xserver only allows vi, and since it's a rental server, you can't use sudo or apt. To directly edit files from SSH, you can use WinSCP or "Remote Atom".

  • rmate setup. The path is arbitrary if `$PATH` is set. curl -o /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate sudo chmod +x /usr/local/bin/rmate
  • $apm install remote-atom
  • Restart
  • Configure startup settings in Remote Atom Settings > Edit
  • Restart
  • Execute SSH with -R. e.g. ssh -R 52698:localhost:52698 -p 10022 -i /mnt/c/download/ident.key [email protected]
  • rmate /home/user/text.md => File opens in Atom

References:

Share this article

Shou Arisaka Nov 22, 2025

🔗 Copy Links