If you want to browse through SSH because the wifi you are on is insecure, or, if you can only access a website from a specific IP there is a SSH tunnel to the rescue.
With a little bit of shell magic it is quickly setup.
Step 1: Type in this command in your shell / terminal on OS X ssh -C2qTnN -D 8080 USER@SSH-SERVER
Step 2: Set a proxy in your browser:
SOCKS-HOST 127.0.0.1 on Port 8080, Tick the box SOCKS v5
To check if the SSH tunnel is working you can use the service Whatismyip.