rmate
- Install rmate in remote.
- Install
remote-atomas Atom package in local. - Configure “remote forwarding” of rmate port in local (local:port -> remote:port).
- Open Atom in local.
- Execute
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.
tree
tree -L 1
tree -L 1 -A
autossh -M 0 REMOTE is also useful.
sshfs
# Mac
brew cask install osxfuse
brew install sshfs
# Ubuntu
sudo apt install sshfs
sshfs REMOTE: MOUNT_POINT -o follow_symlinks
# Mac
diskutil unmount MOUNT_POINT
# Ubuntu
fusermount -u MOUNT_POINT