I'm trying to edit a file from a remote computer connected via ssh. How can I open the remote file on my local computer to edit?
Open file from remote computer on host computer
ssh;remote
You can mount the remote directory with sshfs, after that, the file is accessible in your local directory tree.Example:sshfs user@domain:/remote/directory/ /local/directory/It's all in the man pages.Or just copy the file over with scp/rsync, edit it, and copy it back.