Webmin on Hoary

Ed Fletcher ed at fletcher.ca
Thu Jun 2 06:35:13 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael R Head wrote:
| On Wed, 2005-06-01 at 22:48 -0700, Mike Bird wrote:
|
|>See /etc/webmin/miniserv.conf
|>
|>The "allow=127.0.0.1" line limits access to localhost.  Comment out the
|>line to allow access from anywhere, or change it to e.g.
|>"allow=127.0.0.1 1.2.3.0/255.255.255.0" to allow access from localhost
|>and the 1.2.3.0/24 net.  Note that you have to use a netmask, not a
|>prefix length.
|
|
| Another option is to let ssh do the work for you. Let's say webmin is
| listening on port 80 on your machine 'headless'
|
| You should be able to do this:
| ssh -L 8080:localhost:80 headless
|
| Once you've signed in to 'headless,' you can point your browser at
| http://localhost:8080 and work with webmin via a secure channel, as well
| as without having to dink with any config files.
|
|
|>You should probably set /etc/hosts.allow back the way it was.
|
|
| Agreed.
|
|
|>--Mike Bird
|>

It works!  That's pretty darned slick!

I used "ssh -L 8080:localhost:10000 headless' and 'https://localhost:8080'

I had no idea that ssh was capable of doing that.  And since I can
already use ssh to login from anywhere I take my laptop, this should
work perfectly.

I'll try it out tomorrow from a coffee shop with free wireless.

Many thanks to both Michael and Mike,
Ed
- --
Ed Fletcher
ed at fletcher.ca

What difference does it make to the dead, the orphans and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty or democracy?  -  Mahatma Gandhi (1869-1948)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCnqihlTbGAQhc1A8RAoHEAJ0b/4WyJT1cVcS0jdZcFkjiIoN/BQCfTyWF
53jKzeOsbXghWRgoeXOSeEY=
=ffQY
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list