Send us a question or comment
   

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

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.

 

Was this information helpful?
Yes No
Thank you!
Send your comments and questions to VanDyke Software Support,
or join the discussion in the VanDyke Software Forums.
Can't find the answer you're looking for?
Ask VanDyke Software Support directly
and we will get back to you as soon as possible.
Tell me more. E-mail us your questions about putting VShell to work for your organization.
Try it today! Download a free 30-day evaluation copy of VShell for Windows or UNIX.
Talk to us. Let us help define the right VShell server solution for your company.