A slightly simpler method is possible, assuming you have an ssh server running on the host where the files are and an ssh client on your Mac: Some traditional Unix editors available on Macs and elsewhere have built in functionality or easily accessible addons remote editing. If you can bear to use Emacs, it usually comes bundled with the Tramp plugin, which does exactly that. This means that on my Mac I an edit remote files by opening with ctrl-x ctrl-x /ssh:hostname.tld:path/to/file.