A way to automate the access to my home web server via SSH tunneling
I have a server at home which I need to access from time to time. I have a macbook air as my main workstation these days. So I create an SSH tunnel and then launch the browser like this:

$ ssh user@my.good.host.com -p22  -L 8080:localhost:80'
$ open -a Safari http://localhost:8080

Is there any *smart* way to automate this process without needing to run ssh at startup? 

I'd like to be able to launch the browser in a predefined port i.e. localhost:8080 and run the ssh tunnel automagically without the need to launch a terminal etc.

Regards,
A way to automate the access to my home web server via SSH tunneling
===

I have a server at home which I need to access from time to time. I have a macbook air as my main workstation these days. So I create an SSH tunnel and then launch the browser like this:

$ ssh user@my.good.host.com -p22  -L 8080:localhost:80'
$ open -a Safari http://localhost:8080

Is there any *smart* way to automate this process without needing to run ssh at startup? 

I'd like to be able to launch the browser in a predefined port i.e. localhost:8080 and run the ssh tunnel automagically without the need to launch a terminal etc.

Regards,