I'm on Mac using Terminal for a SSH connection a Linux server, but I guess this could apply for any OS/client.
If I'm using Terminal on my local machine I can open a file in a GUI application by doing
open [appname] [filename].
Is it possible to make it that way when connected to a remote server via ssh as well?
I allready have the remote server mounted as drive, so it's accessible via
/Volumes/my_server, so what I basically want to do is to, when "on the remote server" via ssh, be able to write something like
openlocally [filename] which sends a command to my local terminal session, or whatever it has to be, that runs
open [appname] [filename] locally.