I would like to connect to my office computer (running Ubuntu) via ssh and then open a pdf from the office computer on my macbook (similar to xdg-open in ubuntu) with the program associated with pdfs by default (for now, Viewer).
I would like to do so without first saving the pdf locally. Preferably, if the pdf gets changed on my office computer, I should see the changes without refreshing the command.
How can I achieve this?