In the office I use firefox for my work items and chrome for my personal items. I currently use proxy switchy with chrome to browse through an ssh tunnel to my home server. The chrome/switchy part works fine.

In order to do this I have to open a command window every morning and execute:

ssh -p8181 -D 9999

Then the command window asks my password and I am up and running. (my ssh server at home is running on port 8181)

Is there a way to script this so I don't have to open the command window and enter my password every day (and also to prevent a visible command window from being open and visible)?