It's probably not a good idea to just change index.cgi like that, as all the
different versions and vendors of SSH have slightly different config file
formats :( I haven't tested commercial SSH 2 or 3 yet, which is why
webmin complains when you try to use the SSH Server module.
- Jamie
=?iso-8859-1?Q?Sebasti=E1n_Salgado?= <seb...@he...> wrote ..
> Hi there:
>
> I've recently installed new version 0.90 on a Solaris 7, and couldn't
> make webmin to recognize my sshd. I have SSH 3.0.1 installed.
>
> Looking in index.cgi, I've found the version check and change the line
> 41:
>
> elsif ($out =~ /OpenSSH_([0-9\.]+)/i)
>
> to
>
> elsif ($out =~ /SSH Secure Shell ([0-9\.]+)/i)
>
> because this version of ssh identifies itself with:
>
> sshd2: SSH Secure Shell 3.0.1 (non-commercial version) on
> sparc-sun-solaris2.7
>
> Does this change could make webmin to think it has the wrong version of
> ssh? Is this a problem? Which is the difference between OpenSSH and SSH
> Secure Shell?
>
> BTW: I didn't have problems with the configuration files, as other users
> reported.
>
> But when sshd starts, throws this warnings:
>
> sshd2: WARNING: Unrecognized configuration parameter
> rhostsrsaauthentication
> sshd2: WARNING: Unrecognized configuration parameter
> rhostsauthentication
> sshd2: WARNING: Unrecognized configuration parameter
> ignoreuserknownhosts
> sshd2: WARNING: PubkeyAuthentication configuration keyword is
> deprecated. Use AllowedAuthentications.
> sshd2: WARNING: PasswordAuthentication configuration keyword is
> deprecated. Use AllowedAuthentications.
> sshd2: WARNING: Unrecognized configuration parameter reversemappingcheck
> sshd2: WARNING: Unrecognized configuration parameter gatewayports
> sshd2: WARNING: Unrecognized configuration parameter protocol
>
> I think that webmin doesn't support this version of ssh yet. Am I right? |