SSH and VNC

Jonathan Morton chromatix "at" penguinpowered.com
Thu, 30 Nov 2000 16:06:44 +0000


>I have tried to use SSH as specified in the documentation for encrypting
>my VNC
>session.
>
>I have succesfully installed OpenSSH on two Linux PCs and I can SSH
>between the
>two just fine.
>
>(PC1 is client and PC2 is server)
>On establishing the redirection from PC1 using:
>
>ssh -L 5802:home.dns.entry:5801 home.dns.entry
>
>I get prompted for the VNC password and allowed in OK.  I now have a SSH
>terminal session on PC2.
>
>I then try to open a VNC connection from PC1 using the netscape browser at the
>following URL:
>
>http://localhost:5802
>
>I get an error message on PC1 stating that "a network error occured while
>Netscape was receiving data.(Network error: broken pipe) Try connecting again.
>
>On my PC2 ssh terminal session, I get the following error:
>
>"channel_open_failure:2 reason 1: bla bla"
>
>The connection works fine without the encryption.  I.E:
>
>http://home.dns.entry:5801
>
>Any ideas on what I may be doing wrong?

Yeah, you're only forwarding the browser's port (580x), not the actual VNC
port (590x).

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     chromi "at" cyberspace.org  (not for attachments)
big-mail: chromatix "at" penguinpowered.com
uni-mail: j.d.morton "at" lancaster.ac.uk

The key to knowledge is not to rely on people to teach you it.

Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/

-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a19 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r- y+
-----END GEEK CODE BLOCK-----
---------------------------------------------------------------------
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
---------------------------------------------------------------------