|
From: Jamie C. <jca...@we...> - 2006-06-28 18:14:18
|
On 28/Jun/2006 11:59 Alan Dobkin wrote .. > On 6/26/2006 2:05 PM, Jamie Cameron wrote: > > On 26/Jun/2006 05:03 Alan Dobkin wrote .. > > > >> On 6/13/2006 3:53 PM, Jamie Cameron wrote: > >> > >>> - Support for tunneling connections to another server in > >>> the SSH/Telnet Login module. > >>> > >> How does this work? If I leave the "Hostname to connect to" option > set > >> to "Automatic" or set it to "localhost", then it connects me to the > >> local SSH server on my desktop (i.e., the client where I am running > the > >> web browser, not the Webmin server). This seems like a bug to me. > >> > >> Also, is this really "tunneling" through the Webmin server, or is it > >> just a direct connection from the Java applet to the SSH server? It > >> seems more like the latter.... > >> > > > > It is actually tunneling through Webmin. To use it, you need to set > > the 'Use proxy to connect to other hosts?' option to 'Yes', and in the > > 'Hostname to connect to' enter some other host on your webmin server's > > network. Entering 'localhost' would be pointless when in proxy mode, > as > > it is the default destination for non-proxied connections :) > > > > - Jamie > > What you are saying makes sense, but let me reiterate what I am > experiencing, which still appears to be multiple bugs with this module. > > First, with the module config set to "Automatic", Port set to "Default", > and proxy set to "No", the SSH/Telnet Login module connects me to my > local desktop, not the Webmin server. This seems kind of pointless, and > definitely not expected behavior. Indeed .. I presume you aren't running the browser on the same host as your Webmin server? If not, Java shouldn't even be allowed to connect to localhost! I tested these settings myself, and was able to connect to the Webmin server just fine. > Second, if I enter another server hostname in the module config and > leave proxy set to "No", it does connect me properly to that server. > But this does not seem to be tunneling in this case, it seems to be a > direct connection from my desktop (where the Java applet is running). > > Finally, if I enter another server hostname in the module config and set > proxy to "Yes", it says "Connected to <unknown host> 10002", but it does > not actually connect to anything. Are you by any change accessing Webmin through some kind of proxy or Apache forwarding virtual host? This may be confusing the module .. - Jamie |