Okay, Micheal...
Let's start at the beginging...

First off, you say you can connecct to home with vnc.

+---------+                +----------+
| Office  |           5900 | Home     |
|         +--------------->+          |
| v.x.y.z |                | a.b.c.d  |
+---------+                +----------+


Okay, now we want to setup an ssh tunnel.


on office specify:
ssh -L 5999:127.0.0.1:5900 [EMAIL PROTECTED]
 |   |   |       |     |       |
 |   |   |       |     |       +--> your user name on a.b.c.d
 |   |   |       |     +----------> the port that you want to connect to
 |   |   |       +----------------> The host that vncserver is on 
 |   |   +------------------------> Tunnel Mouth port (on Office)
 |   +----------------------------> Tunnel direction (local to remote)
 +--------------------------------> Start ssh command


Once you've entered the password, you get a "Unix (not DOS) Box" running
on Home.  Now, On Office you can connect to the tunnel "Mouth" with
vncviewer 127.0.0.1:5999.  (Don't try this in the ssh "Unix Box" since
it is on Home and not on Office).

and ssh will encrypt and "tunnel" the vnc connection to Home, where it
will be unencrypted, and then sent to 127.0.0.1:5900, which is where
your vnc server is running!


Did that help?


Jerry

P.S. You need an SSH server running on Home for this to work.

.

On Thu, 2003-11-27 at 23:49, michael byrd wrote:
> I can't get SSH to work at all. I'm just trying to connect to my PC from home. 
> When trying to "quick connect" with SSH, what does "host name" mean? Is it the 
> IP address of the computer I'm trying to connect to? What do I put in the "user 
> name" spot? I know that VNC's port number in this case is 5900, right? Please help. 
> I haven't been able to create the secure tunnel yet. 
> Connecting with VNC alone was fine. But I can't get SSH to work properly with it.
> 
> Michael
> 
> __________________________________________________________________
> McAfee VirusScan Online from the Netscape Network.
> Comprehensive protection for your entire computer. Get your free trial today!
> http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
> 
> Get AOL Instant Messenger 5.1 free of charge.  Download Now!
> http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to