Lunarpages Web Hosting Forum

Author Topic: 2 security alerts  (Read 8530 times)

Offline Snooty

  • Spaceship Captain
  • *****
  • Posts: 117
    • Snooty Sims
2 security alerts
« on: January 14, 2008, 10:17:10 AM »
I got mailed 2 security alerts:

Root login possible. Change for your safety the 'PermitRootLogin'
SSH version 1 possible allowed!

How do I fix these? I have Plesk

Offline Mitch

  • Berserker Poster
  • *****
  • Posts: 12625
Re: 2 security alerts
« Reply #1 on: January 14, 2008, 10:49:40 AM »
Hello, for this I would e-mail so they can get you answered and fixed up ASAP. :)
New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!

Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!

Offline perestrelka

  • Master Jedi
  • *****
  • Posts: 1397
Re: 2 security alerts
« Reply #2 on: January 16, 2008, 09:46:33 PM »
Hi Snooty,

The both warnings can be easily fixed by yourself. Login to the server via ssh as root, open /etc/ssh/sshd_config in your favorite editor, uncomment and change the following settings:

PermitRootLogin to "no"


Protocol to "2".

Then restart sshd by executing "service sshd restart".

Please be advised that you will need to create a user in the system and make him the owner of the wheel group in order to be able to ssh into the server and get root privileges after you disable PermitRootLogin.

Please advise if you have any further questions.

Kind Regards,
Vlad Artamonov