Michael,
First let me appologize for being so dumb about this. I'm very new to SSH
and I figure I'm missing something here.
What you describe is what I'm trying to do. This is what I have done step
by step.
1. I have VNC & Cygwin SSH on WINXP pc 1. (CYGWIN sshd is running. Looks
like the srvany/firedaemon method is not needed or is it?) I also just
generated an RSA key for it but not sure how to get it to the registry.
2. I have SSH on WINME pc 2.
3. Run SSH on WINME with the parameters for fowarding: -L 5902:WINXP:5901
WINXP
4. I then run VNCviewer localhost:2 from WINME (connect to itself thinking
it will foward to WINXP).
Instead of the foward to WINXP, I get the double mirror effect.
Is this correct? Where am I going wrong?
Should step 4 be VNCviewer WINXP:1 ? If so, how do I know it's tunneling
through SSH?
I believe SSH is setup correctlyt on WINXP since I can go to a session and
perform the ssh-host-config.
SSH on the client side on WINME also executes.
Many Thanks.
Carl
----- Original Message -----
From: "Michael Erdely" <mike@erdelynet.com>
To: <ssh-l@erdelynet.com>
Sent: Friday, December 27, 2002 11:34 AM
Subject: RE: VNC - SSH / question, problem
> 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.
>
-- 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 12:07:53 2002
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:42 EDT