Setting Up SSH Tunneling

This procedure describes how to configure a server to allow SSH Tunneling in Zend Studio.

Prerequisites

  • A defined remote server in Zend Studio. For more information on adding PHP servers, see Adding PHP Servers.

 

 

Instructions on how to complete a procedure

To setup SSH tunneling for a remote server:

  1. In the menu-bar, select Window | Show View | PHP Servers.
    The PHP Servers is displayed.

  1. Double-click the server you wish to configure SSH Tunneling for, or click the Edit icon .
    The Edit Server dialog is displayed.
  2. Select the SSH Tunneling tab.

  1. Verify the Enable Tunneling check-box is selected.
  1. Enter the following details:
    • Username - SSH connection user name.
    • Password - SSH connection password.
    • SSH Private Key - SSH connection private key. Click Browse to locate the key.
    • Port Forwarding - Click Add to add a new port forwarding configuration for remote debugging/profiling. Click here for more general information on port forwarding.
    • HTTP Proxy:
      • Host - Proxy server.
      • Port - Proxy port.
  1. Click Finish.
    SSH Tunneling settings are saved for the server and SSH tunneling is enabled.

Note:

Once configured, an SSH tunneling connection will be established automatically for any debugging session. It can also be manually enabled or disabled from the PHP Servers view.