I using ttpro extention, and i'm now using the commandline:
/ssh-L10901:remotehost:10901 remotehost
I get the connection and the forwarding.
Then I try to use the tunnel to connect to vncserver with:
vncviewer localhost:10901
I get an error that i didn't get from the other ssh program i used, it goes:
A program on the local maschine attempted to connect to a forwarded port.
The forwarding request was denied by the server. The connection has been
closed.
I only get the error when using the -localhost option on the vncserver. Else
it works as before.
vncviewer from a unix still works...
could it be that the vncviewer running on a windows machine connecting to a
local port is redirected to 127.0.0.1 and not the alias localhost?
ping on unix:
$ ping localhost
64 bytes from localhost (127.0.0.1): incp_seq=0 ttl=255 time=50 usec
ping on windows
ping localhost
Pinging HOSTNAME [127.0.0.1] with 32 bytes of data
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
It seems it redirect localhost to hostname, how do i change that on windows
isn't there a hosts file somewere :-).
I'm aware that under /WINNT/System32/drivers/etc/hosts my hosts file look
like this:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
Regards
Jannik
-----Original Message-----
From: James ''Wez'' Weatherall [mailto:[EMAIL PROTECTED]]
Sent: 2. maj 2001 16:49
To: [EMAIL PROTECTED]
Subject: Re: vnc on Windows2K
> server is started with:
> vncserver :5001 -localhost (will give port 5600+5001=10901)
>
> 1. (works)
> if i use linux or other UNIX I do:
> ssh -L 10901:<server>:10901 <server>
> new consol:
> vncviewer localhost:10901
> This works like a dream...
>
> 2.
> I use win2000:
> start the secure shell with port forwarding.
> start my vncviewer in windows.
> THIS DOESN'T WORK!!!
What is the exact command used to "start the secure shell with port
forwarding"?
Cheers,
James "Wez" Weatherall
--
"The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK - Tel : 343000
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------