Start SSH tunnel at boot
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 email@example.com
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)?
Intel S5000XVN/ 2x QC L5310/16G FBDIMM/2 X25v SSD R0 on P400/midtower EATX U15.10MATE
Supermicro X10SLM+-F/Xeon E3-1230Lv3/16G/2x Mushkin 60G SSD R0 + 2x Samsung F1 R1 on P400/XenServer 6.5
(VM) Ubuntu Server 14.04 LTS (LAMP server)