Proxy Connection with SSH

  1. Instruction for a Windows machine
    1. Configure a PuTTY session
    2. Configure Firefox
  2. Instruction for a MAC machine
  3. Instruction for a Linux machine

Instrution for a Windows Machine

1. Configure a PuTTY session

You will need to install PuTTY if not already installed. You can download and install PuTTY from the CUIT Sotware page.
  1. Run PuTTY.
  2. On the PuTTY Configuration window, fill in the following data:
    • Host Name: type in cunix.columbia.edu.
    • Port: type in 22.
    • Protocol: select the SSH option.
  3. Under the Category, select Connection -> SSH -> Tunnels.
  4. In the Source Port field, fill in the port number (For our example, the port number is 9999.)
  5. Leave the Destination field blank, and check Auto and Dynamic.
  6. Click the Add to commit the setting. You should see a character string appear in the Forwarded Ports field.
  7. Save the settings and click the Open button to establish the connetion. You will have to login with your Columbia UNI and password.

2. Configure Firefox

  1. In your web browser, you need to setup your proxy to point to "localhost", your port (for our example, our port is 9999), and that you are using SOCKS5. For our example, we will use Firefox.
    1. Run Firefox.
    2. Select Firefox -> Options -> Options from the menu.
    3. Select the Advanced icon.
    4. Select the Network tab.
    5. Click on the Settings button.
    6. Select the Manual Proxy Settings checkbox.
    7. On the SOCKS Host" field, type localhost. Then, for the Port field, fill in the port you are using. For our example, the port number is 9999.
    8. Make sure SOCKS v5 is checked.
    9. Click OK.
To stop using the SSH proxy connection, change the proxy option on the Firefox from Manual Proxy Settings to No Proxy and disconnect the SSH connection.

[top]

Instruction for a MAC machine

  1. Open a terminal and connect to a CUNIX server using ssh.
    Example: ssh -D 9999 username@cunix.columbia.edu
  2. Use your Columbia UNI as username.
    Port 9999 is just an arbitrary port.
  3. In your web browser, you need to setup your proxy to point to "localhost", your port (for our example, our port is 9999), and that you are using SOCKS5. For our example, we will use Firefox.
    1. Run Firefox.
    2. Select Firefox->Preferences from the menu.
    3. Select the Advanced icon.
    4. Select the Network tab.
    5. Click on the Settings button.
    6. Select the Manual Proxy Settings checkbox.
    7. On the SOCKS Host" field, type localhost. Then, for the Port field, fill in the port you are using. For our example, the port number is 9999.
    8. Make sure SOCKS v5 is checked.
    9. Click OK.
To stop using the SSH proxy connection, change the proxy option on the Firefox from Manual Proxy Settings to No Proxy and disconnect the SSH connection.

[top]

Instruction for a Linux machine

  1. Open a shell and connect to a CUNIX server using ssh.
    Example: ssh -D 9999 username@cunix.columbia.edu
  2. Use your Columbia UNI as username.
    Port 9999 is just an arbitrary port.
  3. In your web browser, you need to setup your proxy to point to "localhost", your port (for our example, our port is 9999), and that you are using SOCKS5. For our example, we will use Firefox.
    1. Run Firefox.
    2. Select Edit->Preferences from the menu.
    3. Select the Advanced icon.
    4. Select the Network tab.
    5. Click on the Settings button.
    6. Select the Manual Proxy Settings checkbox.
    7. On the SOCKS Host" field, type localhost. Then, for the Port field, fill in the port you are using. For our example, the port number is 9999.
    8. Make sure SOCKS v5 is checked.
    9. Click OK.
To stop using the SSH proxy connection, change the proxy option on the Firefox from Manual Proxy Settings to No Proxy and disconnect the SSH connection.

[top]