Send us a question or comment

   

How do I get VNC to run securely over SSH2 using SecureCRT® and VShell®?

The following steps will help you get VNC running over VShell. These steps assume that you are using SecureCRT as your port-forwarding client.

On the VShell/VNC server:

  1. In the VNC interface, set the following parameters:
    1. Check the "Accept Socket Connections" check box.
    2. Set "Display number" to "02" (this will configure the server to listen on port 5902).
    3. Set the password.

    Note: Setting "Display number" directly to "5902" may cause an error with the client.

  2. Create the following Registry entry

    AllowLoopBack REG_DWORD "1" (hex) under the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3
  3. Restart the VNC service.

In your SecureCRT client:

  1. Select "File / Connect..." to open the "Connect" dialog.
  2. Click on the "New Session" button and configure a SSH2 session that connects to the VShell/VNC server.
  3. Select the "Connections / Port Forwarding" category and press the "Add" button.
  4. Create a port forward entry with the following settings:
    1. Name: VNC (or whatever name is meaningful to you)
    2. Local Port: 5902
    3. Remote Port: 5902
    4. Clear the "Destination host is different for the SSH server" check box.
  5. Click on the "OK" button until you are back at the "Connect" dialog and then click on the "Connect" button to initiate your new session.

In your VNCViewer:

  1. Enter "localhost:02" in the Connection details dialog.

1.  Read or download one of our secure solutions white papers. 2.  Download a free
30-day evaluation copy of our products.
3.  Let us help define the right Secure Shell solution for your company. 4.  Subscribe to our monthly newsletter for tips, solutions ideas, and product news.