I've successfully set up dynamic port forwarding over SSH in Pale Moon and added the alias as ssh-forward
in .bashrc.
Now I have to execute both ssh-forward
and palemoon
to access the Internet over this tunnel.
I actually want to combine those commands resulting in only having to execute palemoon, and editing the .desktop file for it so it executes both commands when clicking on it.
This would also involve running the ssh-forward
in the background, thus creating a PID for it.
What would be the best way to set this up? I'm specifically looking for a fast end-solution in which I would only have to click the icon, or executing palemoon from the Terminal.