On Thursday 23 March 2006 10:52, Jaroslaw Rafa wrote: > Hal Vaughan napisal(a): > > > Why do you need "PuTTY or plink for Linux"? > > > Virtually every version of Linux has a ssh client - and this is > > > exactly what PuTTY and plink are - built in... > > > Just use the "ssh" command... see "man ssh" > > > Regards, > > > Jaroslaw Rafa > > > [EMAIL PROTECTED] > > > > Because in the long run, it's a LOT easier to have the same program > > for both Windows and Linux than to try to use separate solutions. > > I still don't understand your point. > VNC for Linux and VNC for Windows are actually TWO different > applications anyway - Windows binary doesn't run on Linux and vice > versa. I guess you have to write some batch files/shell scripts to > automate the things you want to do (create a ssh tunnel via either > plink or native Linux ssh client and then run VNC over that tunnel) - > you'd have to write TWO separate ones, one for Windows and the other > for Linux.
I have scripts and Java programs that interface with them. I use small differences for the different OSes, and the Java program, on install, will set the right path names and such, but as to keeping track of things like arguments, settings, config files, it is MUCH easier to use one program for both OSes than different programs. While it is taking more work now to set it up, one cardinal rule for my program is to do everything the same whenever possible. That rule was created when I ran into a mess trying to maintain 2 separate versions of anything. > So, what's the problem with using one command name ("plink") in the > Windows batch file and another ("ssh") in the Linux shell script? > Because probably this will be the only difference - plink is, in > fact, nothing more and nothing less than a Windows implementation of > the Linux's "ssh" command... See above. It becomes a nightmare in the long run in trouble shooting and with other issues. I'm one person maintaining the code and trying to keep different arguments and settings is a nightmare. > > What I really want to use is Stunnel, which creates an HTTPS tunnel > > for > > Hm... AFAIK, stunnel is generally not used for HTTPS (HTTP-over-SSL) > traffic, as both web servers and clients handle this internally. > Stunnel is rather used for running other application protocols, like > POP3 or IMAP, over SSL, when the application does not support SSL > natively. This might be of course the case with VNC as well. I guess > you don't actually want to run VNC over HTTPS (what should be the > HTTP protocol used for?) but just wrap it in SSL... That's the idea. I want to be able to send VNC over stunnel. Since I can't create static binaries of stunnel (I'm not a C programmer and don't have the background required to build the static libraries it needs), I'm seeing if I can use PuTTY. Ideally I'd use stunnel, OR a port forwarder I've been working on in Java, but even when I use code directly from examples, the Java program doesn't work as the notes with the examples indicate (I'm wondering if the authors of the books and articles actually tested the code before including it!) > > data, but it depends on something like 5-6 libraries and I am not a > > C programmer, don't know where to find all the sources, and am not > > sure I could compile all of them statically. One person offered to > > do it, but > > Surely it depends on OpenSSL. I don't know if it's possible at all to > compile statically with this library. Stunnel does. PuTTY does not, believe it or not. > But you may try to search the Net for a ready static binary stunnel > package. If it's possible to make one, someone has probably already > made it. Regards, I've been trying. Not much success. I've had an offer of help, but I haven't heard from him in 3-4 days. The author of stunnel does not seem interested and possibly a little against the idea of any producing static binaries of stunnel. Hal _______________________________________________ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list