Mail Archives: cygwin/2001/10/25/17:24:05
One thing on the port forwarding. You really should make the
host between the two ports be 'localhost'. Otherwise, if you have
firewalls inbetween, this will never work (BTW, vnc works fine
over ssh, but I think you will get confused if you have a VNC server
running on the same machine you are trying to run the client on,
as both the server, and the ssh port forwarding will be listening
on port 5900. I use the following line to get away from this:
-L 5904:localhost:5932 home
Then I always fire up my VNC session @ home on server :32
and I do a connect via localhost:4
HTH....
On Thu, 25 Oct 2001 17:11:47 -0400, Terry Roe wrote:
>I can't get ssh tcp forwarding to
>work to my cygwin sshd.
>
>I can ssh to my cygwin sshd and get
>a bash.
>
>I can use cygwin ssh to tcp forward
>to a RedHat sshd, so I have the
>correct commands.
>
>When I run the following command from
>my RedHat system
>
>ssh -v -v -v -L 5900:myWindowsHost:5900 myWindowsHost
>
>I see
>
>debug2: tty_make_modes: 93 0
>debug1: Connections to local port 5900 forwarded to remote address
>host:5900
>socket: Address family not supported by protocol
>debug1: Local forwarding listening on 127.0.0.1 port 5900.
>debug1: fd 4 setting O_NONBLOCK
>debug1: fd 4 IS O_NONBLOCK
>debug1: channel 0: new [port listener]
>debug1: Requesting shell.
>debug1: Entering interactive session.
>
>Is the socket error my problem? Am I configured
>correctly? Do I have any options?
>
>Best Regards,
>Terry
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -