Hi,
Thanks for the feedback, I have tried with your suggestion and the viewer
is still trying to connect to the orginal port:
- With via:
>the command is:
SET VNC_VIA_CMD=ssh.exe -f -v -L %%L:%%H:%%R %%G ^
-i proxyKey ^
-p 22 ^
-oStrictHostKeyChecking=no ^
-oTCPKeepAlive=yes -oServerAliveInterval=30 sleep 20
(I have tried without options also)
> Starting VNC like this:
cvncviewer.exe -via username@myRemoteAdress localhost:1
In the debug I can see:
"
Authenticated to myRemoteAdress ([myRemoteAdress ]:22).
debug1: Local connections to LOCALHOST:59288 forwarded to remote address
localhost:5901
debug1: Local forwarding listening on 127.0.0.1 port 59288.
debug1: channel 1: new [port listener]
debug1: open - CreateFile ERROR:3
dup() in/out/err failed
WARNING: Could not start SSH client to create tunnel
"
But TurboVNC is indicating: "connecting to localhost:1"
- With tunnel:
the command is:
SET VNC_TUNNEL_CMD=ssh.exe -v -f -L %%L:localhost:%%R %%H ^
-i proxyKey ^
-p 22 ^
-oStrictHostKeyChecking=no ^
-oTCPKeepAlive=yes -oServerAliveInterval=30 sleep 20
> Starting VNC like this:
cvncviewer.exe -tunnel username@myRemoteAdress :1
but this time ssh tries to connect to localhost.
Trying echo instead of ssh the command is expanded as follow:
-v -f -L 59125:localhost:5901 localhost -i proxyKey -p 22
-oStrictHostKeyChecking=no -oTCPKeepAlive=yes -oServerAliveInterval=30
sleep 20
%%H seems to be replaced by localhost instead of gateway.
Regards
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
TurboVNC-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/turbovnc-users