04/13/2012

SSH is pretty awesome.

I’m working at home today (of course) and I need to test some web pages that will be accessing a remote database server. For security reasons, that remote server only allows access from the office IP address. That means I can’t test any of this from home because the database will refuse my requests.

After a few minutes of thought, I set up an SSH tunnel between my house and the office. Now when I open the web page on my browser here, it’s actually sending the HTTP traffic to the server at the office, which routes it to a second server at the office, which connects to the remote database server to pull the information I need. From where I’m sitting, it’s completely transparent and the browser acts exactly as it would if I was sitting at the office.

Now that’s handy!