* Is it possible to invoke BBEdit to edit a file using a command on a remote Linux machine? The bbedit tool seems to do exactly this on the local OSX machine, but I'm wondering if anyone has magic that could accomplish the same result remotely.
* Can the BBEdit shell workspace be directed to any SSH connection?
* I am assuming that between the open via ftp/sftp, and the mounting of remote file systems, BBEdit should be able to access and edit the remote files. Are there any gotchas here I should be aware of?
(apologies if this is a duplicate post, my first attempt seems to have gone AWOL)
The bigger issue is all those times when you're at the command line of an ssh session and you need to edit a file, or a tool like git wants to invoke an editing session. It sounds like nobody yet has a good solution for that, which is disappointing. I guess I'll have to come up with something for that myself.
I was thinking of running a daemon on login on the remote machine, passing it the IP of my BBEdit OSX box (perhaps in an SSH shell this can be derived automatically?). The OSX machine would run a daemon of its own listening for connections... ideally it could figure out how to use the mount command to connect to a file system on a remote machine when an edit request first arrived. Then a command would be written that talks to the local daemon, passing it edit requests and waits for a completion signal.
Source for the remote side would be open and portable to any posix system (hopefully).
Too ambitious?