Nelson's log

ssh forwarding to port 80

I don’t do this often enough to remember it every time I need it.

ssh -L 9991: <remotehost>

This sets it up so that http://localhost:9991/ on my desktop machine is forwarded to http://localhost:80/ on the remote host. Useful for accessing web pages that are available to localhost clients only, like Munin.