LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Webmin module "SSH-Login" does not work (https://www.linuxquestions.org/questions/linux-software-2/webmin-module-ssh-login-does-not-work-855364/)

ako673de 01-10-2011 09:29 AM

Webmin module "SSH-Login" does not work
 
I have a NAS (Conceptronic CH3MNAS) which has some sort of Linux on it. I want to access the box configuration over the internet and thought webmin would be a good start. However one of it's modules, "SSH-Login" gives me headache:

It should open an ssh terminal on my box within the (firebox) browser, but it doesn't. A login box still appears but after entering my credentials nothing more happens.

However, I can perfectly establish a connection via PuTTY, so the ssh server is doing alright.

So, is the webmin module buggy or am I missing something?

best regards
ako673de

tligda 01-12-2011 03:37 PM

ssh-login for webmin sucks. You can install an updated ssh login module called SSH2.

Quote:

To install it go to Webmin > Webmin Configuration > Webmin Modules and select SSH2 from the list "Third party module from".
via

ako673de 01-13-2011 02:36 AM

Quote:

Originally Posted by tligda (Post 4222142)
ssh-login for webmin sucks. You can install an updated ssh login module called SSH2.

Thank you! Works well but obviously it runs locally on the machine where the browser is started and therefore needs port 22 opened on my home firewall and on the webmin client network.

Unfortunately there are many places where at least the latter is not true - for example my company. Is there a solution that fully runs on the local server (and only transmitts that terminal over the web)? "Shell in a box" seems to be such thing, but that one doesn't run on my NAS (which tells me to have an "armv5tejl" CPU).

best regards
ako673de

tligda 01-13-2011 03:48 PM

That's how SSH sessions work, so there's no alternative to opening port 22.

In Webmin, you can use the "Command Shell" module to send individual commands. As long as Webmin is accessible, it will be able to execute commands without opening any more ports.

ako673de 01-19-2011 05:55 AM

Quote:

Originally Posted by tligda (Post 4223446)
That's how SSH sessions work, so there's no alternative to opening port 22.

In Webmin, you can use the "Command Shell" module to send individual commands. As long as Webmin is accessible, it will be able to execute commands without opening any more ports.

You cannot process "interactive" commands with this solution! However, I found a module, that does the job: It's called "ajaxterm.wbm.gz". Needs Python. Just two little glitches: This terminal window has no scroll bar and fixed size. Well, I think, I can live with that ;-).

regards
ako673de


All times are GMT -5. The time now is 07:44 AM.