Edit files on remote host via SSH
By Leo Gaggl
Whilst most commandline editors have the ability to edit files on a remote host directly this can get messy sometimes when there are multiple files involved. Mounting the remote folder via SSHFS seems to be more reliable in practical use.
Mount
sudo apt-get install sshfs<br></br>sudo addgroup USERNAME fuse<br></br>sshfs remoteuser@remotehost:/remote/path /local/mountpath
Unmount
fusermount -u /local/mountpath