Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Kobus on May 09, 2007, 09:54:31 AM

Title: SSH stopped working
Post by: Kobus on May 09, 2007, 09:54:31 AM
Hi Everyone

Lastnight I ran the latest update which was really just a clamav update. After the reboot the ssh daemon stopped working. Trying to restart it manually gives the following:

/etc/ssh/sshd_config: line 21: Bad configuration option: UsePAM
/etc/ssh/sshd_config: line 30: Bad configuration option: MaxAuthTries
/etc/ssh/sshd_config: terminating, 2 bad configuration options

Checked this server with another and all seems to be the same.

I had a look at bugtracker but nothing in there about this. All dsa and rsa keys looks good.

Please can anybody help.

Thanks

Kobus
Title: SSH stopped working
Post by: Kobus on May 09, 2007, 10:54:55 AM
Bug Report http://bugs.contribs.org/show_bug.cgi?id=2976
Title: SSH stopped working
Post by: okepc on May 09, 2007, 11:12:47 AM
See the bottom of the post

http://forums.contribs.org/index.php?topic=35546.0
Title: SSH stopped working
Post by: Kobus on May 09, 2007, 11:24:00 AM
Already checked and tried same error
Title: SSH stopped working
Post by: okepc on May 09, 2007, 01:06:32 PM
tried?
signal-event post-upgrade and then signal-event reboot?
Title: SSH stopped working
Post by: Kobus on May 09, 2007, 01:13:09 PM
yip tried that
Title: SSH stopped working
Post by: Kobus on May 09, 2007, 01:46:10 PM
Just in case i tried
mv /etc/ssh/ssh_host_dsa_key  /etc/ssh/ssh_host_dsa_key.orig
and mv /etc/ssh/ssh_host_dsa_key.pub  /etc/ssh/ssh_host_dsa_key.pub.orig
then /etc/init.d/sshd start

On a test server this works fine and it generates then starts sshd but on the
broken production server it says FAILED and gives me the same error message
with what I started with.
Title: SSH stopped working
Post by: okepc on May 09, 2007, 03:06:30 PM
Is there any chance that this server could be comprimised?
Through web applications?
Title: SSH stopped working
Post by: Kobus on May 09, 2007, 03:11:44 PM
No.

Only runs email.

This only occurred after the reboot after the clamav update.

Kobus