SSH Disabling Direct Root Login Print E-mail
User Rating: / 0
PoorBest 
Wednesday, 18 July 2007 21:34
Disabling root login will force any attempted hackers to use 2 passwords instead of only one. Making it more difficult for a hacker to break into your server.

You must have another user which is NOT root already on the box

vi /etc/ssh/sshd_config

Search for line

PermitRootLogin yes


and change it to

PermitRootLogin no


restart sshd by typing
/etc/init.d/sshd restart

Tags See All Tags Add New Tag...

Please Enter New Tags Separated By Comma's
  Or Close

linux  security  server  ssh 
Powered By Joomla Tags

Comments
Add New Search RSS
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
:(:x
Please input the anti-spam code that you can read in the image.

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 


Another articles:

Powered By relatedArticle

Content View Hits : 3456013

Enter Amount: