Hi Folks,

I have been using TurboVNC through an SSH tunnel on Windows. However, when 
my clients connect they receive a confirmation window because the host key 
is unknown. Since my environment is controlled, I would like to skip this 
warning message and just connect (something similar to ssh -o 
StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null user@host). 

I have tried to use both cvncviewer.exe and VncViewer.jar for this, but 
with no success.

In both cases, I created a .bat file with the following content:

*@echo off*
*SET VNC_VIA_CMD=ssh.exe  -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -f -L %L:%H:%R %G sleep 20*
*java -jar VncViewer.jar -via server.domain -sshport 5900 -vncpasswd 
vncfile -ExtSSH localhost*

I have also tried this other way, but with no luck...

*@echo off*
*java **-Dturbovnc.via="ssh.exe  -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -f -L %L:%H:%R %G sleep 20" **-jar 
VncViewer.jar -via server.domain -sshport 5900 -vncpasswd vncfile -ExtSSH 
localhost*

What am I doing wrong?

Cheers,

Rafael

-- 
You received this message because you are subscribed to the Google Groups 
"TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/fe788b10-c066-4411-8980-88f3bf7e5e83%40googlegroups.com.

Reply via email to