LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   problem with sshd in Ubuntu Server 8.04 (http://www.linuxquestions.org/questions/ubuntu-63/problem-with-sshd-in-ubuntu-server-8-04-a-4175432280/)

gtludwig 10-15-2012 06: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:
Code:

/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 07:13 AM

The error is self-explanatory:
Quote:

PermitRootLogin n
It should be
Code:

PermitRootLogin no

gtludwig 10-15-2012 07:16 AM

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


All times are GMT -5. The time now is 08:28 AM.