When I go to Webmin> Others> SSH Login> the SSH Login page loads and a “SSH User Authentication” java applet window opens but minimised. At the bottom of the black ssh window is the line
Connected to xxx.xxx.xxx.xxx ssh Online
When I enter any username and password combination in the SSH User Authentication window the line changes to
Not connected Offline
and in the logs is the very unhelpful line
Did not receive identification string from xxx.xxx.xxx.xxx
How do I fix this so that the SSH Login screen will work?
I can confirm this problem.
Setting SSHD to “debug logging”, I get this in
May 3 11:50:13 lyra sshd: Connection from 18.104.22.168 port 50366
May 3 11:50:19 lyra sshd: debug1: Client protocol version 2.0; client software version SSH/JTA (c) Marcus Meissner, Matthias L. Jugel
May 3 11:50:19 lyra sshd: debug1: no match: SSH/JTA (c) Marcus Meissner, Matthias L. Jugel
May 3 11:50:19 lyra sshd: debug1: Enabling compatibility mode for protocol 2.0
May 3 11:50:19 lyra sshd: debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu6
May 3 11:50:19 lyra sshd: debug1: do_cleanup
Not overly helpful, but maybe an indication of an outdated SSH Java application?
The issue might be that the SSH Login module only supports SSH v1, but some SSH servers only support protocol version 2 by default.
Possible fixes are :
- Get the “Text Login” module from http://www.webmin.com/third.html , which uses HTTP and thus avoids the SSH problem completely.
- Get the “SSH2 Login” module from the same location, which has an updated applet.
I would love to include the SSH2 module in the core Webmin distribution, but licencing on the applet that it includes prevents this.
The “Text Login” module is based on ajaxterm which has a much more friendly licence, and so will be included in Webmin 1.560.