How do I run VNCViewer (win) thru ssh?
Dan Fulbright
vnc-list "at" okra.org
Mon, 19 Jun 2000 21:18:34 +0000
> I am running vncserver on a freebsd box (3.4R) and sshd.
>
> I would like to connect to that box from Win98 using VNCViewer, but I
> would like to do this in a secure manner, ie, by tunneling through
> with ssh. I have TerraTerm's ttssh.exe.
>
> I have searched the archives, but I still quite can't figure out if this
> is possible.
>
> Several documents mentioned similar scenarios, but I could not find how to
> enter the forwarding options they mentioned.
>
> Do I need a sshd for windows?
Yes, it is possible, and quite easy. No, you do not need sshd for windows
(unless you also want to connect to WinVNC securely).
Just start Tera Term (ttssh.exe), and select Setup | SSH. You will
probably want to set compression level to Highest. Then go to Setup | SSH
Forwarding. Click on Add, then enter Forward local port "5905" to remote
machine "localhost" port "5901". Go to Setup | Save setup and save it as
TERATERM.INI. (Note that Tera Term does _not_ automatically save your
settings.) Connect to your ssh server (File | New Connection). Now,
start VNC Viewer on your Windows box. For the server, type localhost:5.
Now, assuming you have a VNC server running as :1 on your FreeBSD box, you
have a compressed, encrypted VNC session.
If you want to disable connections that don't use SSH, start VNC server on
your FreeBSD box with the -localhost option.
Dan Fulbright
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------