Koozali.org: home of the SME Server

SSH stopped working

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
SSH stopped working
« 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
Kobus............

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
SSH stopped working
« Reply #1 on: May 09, 2007, 10:54:55 AM »
Kobus............

Offline okepc

  • ****
  • 118
  • +0/-0
    • http://www.okepc.nl
SSH stopped working
« Reply #2 on: May 09, 2007, 11:12:47 AM »

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
SSH stopped working
« Reply #3 on: May 09, 2007, 11:24:00 AM »
Already checked and tried same error
Kobus............

Offline okepc

  • ****
  • 118
  • +0/-0
    • http://www.okepc.nl
SSH stopped working
« Reply #4 on: May 09, 2007, 01:06:32 PM »
tried?
signal-event post-upgrade and then signal-event reboot?

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
SSH stopped working
« Reply #5 on: May 09, 2007, 01:13:09 PM »
yip tried that
Kobus............

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
SSH stopped working
« Reply #6 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.
Kobus............

Offline okepc

  • ****
  • 118
  • +0/-0
    • http://www.okepc.nl
SSH stopped working
« Reply #7 on: May 09, 2007, 03:06:30 PM »
Is there any chance that this server could be comprimised?
Through web applications?

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
SSH stopped working
« Reply #8 on: May 09, 2007, 03:11:44 PM »
No.

Only runs email.

This only occurred after the reboot after the clamav update.

Kobus
Kobus............