-   Ubuntu (
-   -   problem with sshd in Ubuntu Server 8.04 (

gtludwig 10-15-2012 07:41 AM

problem with sshd in Ubuntu Server 8.04
Hello all,
Here at work we have an old installation of Ubuntu Server 8.04 on a hardware that's our main database server. From time to time I log in on it via ssh and haven't been able to do so as of last week.

Whenever I try to start the ssh deamon when logged as root, I get the following error:

/etc/ssh/sshd_config line 26: Bad yes/without-password/forced-commands-only/no argument n
Line 26 of /etc/ssh/sshd_config is:
PermitRootLogin n

I'm at a loss here. Can anyone help me with this?

Thanks in advance!

bathory 10-15-2012 08:13 AM

The error is self-explanatory:

PermitRootLogin n
It should be

PermitRootLogin no

gtludwig 10-15-2012 08:16 AM

Thanks, bathory!
I'm dumbstruck as to have missed that!

All times are GMT -5. The time now is 06:57 PM.