I am working on a remote machine over ssh without X, and it has no browser installed. When I invoke browse-url on Emacs (not surprisingly) it gives an error: "No usable browser found."
I can install w3m at the remote machine or forward a graphical browser, but I would like to see the url opened at the local machine with 'browse http://example.com/'. Are there work done on this matter, or if not, how would one write a program that does such a thing(if it is possible at all)?
I've seen this answer, but apparently it can't be used in scripting (when ssh'ing back to the original host is impossible) https://stackoverflow.com/questions/38567427/run-a-command-on-local-machine-while-on-ssh-in-bash
Or if it's impossible I'll just have to forward firefox itself(though slow).