RE: VNC - SSH / question, problem

From: Michael Erdely <mike_at_**********.***>
Date: Fri Dec 27 2002 - 11:34:31 EST

Carl,

"This happens with or without SSH running."
That means that you are indeed connecting to your local machine. It is
working as designed. The analogy here is standing in front of a mirror
with a mirror behind you, too. The reflections go to infinity.

The purpose of AllowLoopback is for the VNC Server to accept connections
from a host with the IP 127.0.0.1. This is useful when you have a VNC
Server and an SSH Server on the same machine. Then, from a different
machine, you make an SSH connection to the VNC/SSH Server tunneling VNC.
After the SSH tunnel is established, you then VNC to localhost, which
will forward the VNC traffic through the SSH tunnel to the VNC Server on
the other end.

Consider the following scenario:
 - I am at home. I have a VNC Viewer and an SSH Client.
 - I have a server at work whose IP address is a.b.c.d. The server is
running VNC Server and SSH Server.
 - Using Cygwin's ssh client, I connect to my server using "ssh -L
5901:localhost:5900 user@a.b.c.d"
 - After the SSH session is established, I fire up my VNC Viewer and
connect to localhost:1.

Notes:
>From the ssh client command line, "localhost" refers to localhost from
the _SERVER'S POINT OF VIEW_. So, localhost is the SSH Server itself.
>From the VNC Viewer, "localhost" refers to localhost from the _CLIENT'S
POINT OF VIEW_. So, localhost is the VNC/SSH client - my home PC.

I hope that clears things up for you.

-ME

-----Original Message-----
From: ssh-l-admin@erdelynet.com [mailto:ssh-l-admin@erdelynet.com] On
Behalf Of Carl - WC4H Bellsouth
Sent: Friday, December 27, 2002 11:03 AM
To: ssh-l@erdelynet.com
Subject: Re: VNC - SSH / question, problem

This happens with or without SSH running. I'm connecting to VNC
localhost:1
with the AllowLoopback turned on (1).

What am I missing here? I thought that the loop back was designed to go
through the VNC server on the Localhost.

Thanks again.
Carl

----- Original Message -----
From: "Michael Erdely" <mike@erdelynet.com>
To: <ssh-l@erdelynet.com>
Sent: Friday, December 27, 2002 10:38 AM
Subject: RE: VNC - SSH / question, problem

> That means you are connecting to the VNC Server on your local box.
You
> aren't happening to be ssh'ing to localhost are you? Or at least
> tunneling to the machine your running VNC from?
>
> -ME

--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to http://tech.erdelynet.com/mailman/listinfo/ssh-l/
and enter your email address at the bottom to "Edit Options". If you
don't know your password, have it emailed to you. Then unsubscribe.
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to http://tech.erdelynet.com/mailman/listinfo/ssh-l/ and enter your email address at the bottom to "Edit Options". If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Fri Dec 27 11:43:11 2002

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:42 EDT