Reply to topic
Direct root access via ssh on dedicated server.
Smitty


Joined: 22 Nov 2006
Posts: 3
Location: Bethany, CT
Reply with quote
Hello,

I'm a new (on HMS) dedicated server customer. I noticed that in my server's ssh configuration AllowRootAccess is enabled. Then I see from my logs that after only 1 day, several attempts have been made to crack the root password.

Is there some reason that AllowRootAccess can't be disabled? That way at least the cracker would have to find a way in through some other account and then try to go after root with su. I have always run systems with this disabled in the past and I think it helps to tighten them up.
dbodner


Joined: 21 Dec 2005
Posts: 112
Location: Philadelphia, Pa
Reply with quote
There should be no reason you can't. Just make sure the hmssys user (and your user) is in /etc/sudoers.

in:
/etc/ssh/sshd_config
Change:
#PermitRootLogin yes
to:
PermitRootLogin no

and /etc/init.d/sshd restart
Smitty


Joined: 22 Nov 2006
Posts: 3
Location: Bethany, CT
Reply with quote
Thanks for the quick reply.
Direct root access via ssh on dedicated server.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic