|
From: Jamie C. <jca...@we...> - 2006-06-28 19:22:06
|
On 28/Jun/2006 13:52 Albert Charron wrote .. > Jamie Cameron wrote: > > 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 > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > - > > Forwarded by the Webmin mailing list at web...@li... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > Just noticed I have the exact same problem here. I'm not proxying > through apache on both the machines I've tried the SSH module... One > machine is under Mandriva Linux 2006, the other one is under Ubuntu > Dapper Drake (6.06)... > > In both cases, trying to connect remotely (from another computer)... the > module is stating "connected to <unknown host> ssh" > > Webmin version in both cases is 1.280... What does the 'hostname -f' command output when run at the shell prompt on your system? If it is returning localhost, this may be confusing Webmin.. - Jamie |