Remote editing with Atom (rmate, sshfs)
- Install rmate in remote.
remote-atomas Atom package in local.
- Configure "remote forwarding" of rmate port in local (local:port -> remote:port).
- Open Atom in local.
rmate file.txtin remote (ssh). Atom in local will show the file, and you can edit it.
rmate cannot be used for Atom Tree View (Project View). But
tree command in ssh is useful for viewing project file entries.
treetree -L 1tree -L 1 -A
autossh -M 0 REMOTE is also useful.
# Macbrew cask install osxfusebrew install sshfs# Ubuntusudo apt install sshfs
sshfs REMOTE: MOUNT_POINT -o follow_symlinks
# Macdiskutil unmount MOUNT_POINT# Ubuntufusermount -u MOUNT_POINT