Re: SSH Tunneling with WinVNC Server/client

From: samjack (nospam_at_device.null)
Date: 12/20/03


Date: Sat, 20 Dec 2003 13:16:46 -0600

Here is an exercise for doing VNC over SSH using cygwin.
http://www.starinfosec.com/gsec/ExerciseSupplemental-Cygwin-VNC.pdf

As far as entering old VNC password. VNC passwords are in the registry and
user profile specific. So if you get into changing the passwords the one
before a user is logged in and after can be different.

"newbie" <newbie@reply.news.group> wrote in message
news:brn4d2$g90$1@sparta.btinternet.com...
> I have the following set up
>
> VNC Server:
>
> Runningg Windows 2000 Professional SP4
>
> Open SSH (as a Windows Service)
>
> RealVNC run as a Windows Service (password set whilst user Myadmin is
logged
> on)
>
> User set up:
>
> Myadmin -Administrator group
>
> Mylocal -restricted user
>
> Following regiistry key set and VNC service restarted:
>
> HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\AllowLoopback=1
>
> HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\LoopbackOnly=1
>
> VNC Client:
>
> Real VNC Client
>
> Open SSH client
>
> Windows XP Professional SP2
>
>
>
> The following works:
>
> Setting 1:
>
> 1) Myadmin logs on to Win2K machine
>
> 2) client issue sshh -C -L:5901:127.0.0.1:5900 mylocal@Server'sIP
>
> 3) enter mylocal's Windows password on SSH
>
> 4) Enter WinVNC's password when prompted
>
> 5) connected but slow connection
>
> The following does not quite work:
>
> Setting 2:
>
> 1) Mylocal logs on to Win2K machine
>
> 2) client issue sshh -C -L:5901:127.0.0.1:5900 mylocal@Server'sIP
>
> 3) enter mylocal's Windows password on SSH
>
> 4) Have to enter an OLD WinVNC password!! (no WinVNC password was set
whilst
> logged on as mylocal), have to use the first WinVNC password set whilst
> logged on as myadmin
>
> 5) after successful authentication, all I get is a blank black screen on
the
> viewer, connection info indicate a line speed of 0kbit/s, Depth level=8
> (network monitor indicate no network activity), but SSH appears to be
> working, on the terminal I couldd CD into different directories and do
dir,
> etc.
>
> How could I get VNC/SSH working together on setting 2 above?
>
>



Relevant Pages

  • Re: x2x or other program
    ... between this system and a red-hat server. ... Should I use x2x, VNC, or are there ... windows on your PC? ... Then use SSH X forwarding. ...
    (Ubuntu)
  • SSH Tunneling with WinVNC Server/client
    ... VNC Server: ... Runningg Windows 2000 Professional SP4 ... Open SSH ... RealVNC run as a Windows Service (password set whilst user Myadmin is logged ...
    (comp.security.ssh)
  • Re: Accessing Windows XP Desktop (Home Edition) remotely
    ... >> SSH application on the Windows computer. ... I have successfully used the Win32 OpenSSH installer available via ... Windows 2000 Professional system. ... for the VNC server on Windows and for the client on FreeBSD (installed ...
    (freebsd-questions)
  • Re: how to continue the X-session at workplace when I back to my home?
    ... >> continue to work on those windows, ... On X, VNC exports the display other than the current one (i.e.,:0, the ... Both vncserver and x-rfbserver use the same protocol, ... it is easy to tune the vnc session via a ssh channel. ...
    (linux.redhat.misc)
  • Re: VNC ? again
    ... VNC working but something crept into my mind. ... have him use the ssh instructions below, ... Assuming that you do have ssh installed on the Ubuntu machines, ... Now from your VNC client, I'll use Krdc in this case, but you can use ...
    (Ubuntu)