LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 10-15-2012, 06:41 AM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Rep: Reputation: 16
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!
 
Old 10-15-2012, 07:13 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,881

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
The error is self-explanatory:
Quote:
PermitRootLogin n
It should be
Code:
PermitRootLogin no
 
1 members found this post helpful.
Old 10-15-2012, 07:16 AM   #3
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Original Poster
Rep: Reputation: 16
Thanks, bathory!
I'm dumbstruck as to have missed that!
 
  


Reply

Tags
server, ssh, ubuntu 8.04


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trouble connecting to sshd on Ubuntu 9.10. Logs point to SELinux problem... bartonski Linux - Server 3 02-15-2011 12:21 AM
[SOLVED] SSHd not running on Ubuntu 10.10 VM Unix_Queen Linux - Newbie 3 10-14-2010 09:15 AM
Cannot ssh into RHEL 5.5 server unless SSHD server debug is enabled tclappsdba Linux - Newbie 6 08-11-2010 02:56 PM
lamp server communication goes on and off (apache, sshd, nx-server, mysql) jonjon Linux - Server 2 06-07-2010 11:23 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration