I'm trying to streamline my workflow for editing files over an SSH connection. I'm imagining something like this: I log in via SSH to my server, navigate to a directory, and then run a command that allows me to edit a file directly in my local GUI editor without all the extra steps of mounting the SSH connection in my file manager. I'm looking for a way to automate this process, potentially with a script that would help mount the connection and open the file in my editor directly. Does anyone have tips or tools that could help me achieve this?
1 Answer
You might want to check out sshfs. It's pretty handy for mounting your SSH connection locally. I've used it to edit files with PyCharm instead of messing with version control. It helps manage ownership issues between local and remote files too.

That’s similar to what I've been doing with gvfs. What I really need is a way to skip the whole file manager step and just open the files directly from my SSH prompt.