How to disable remote root login in Linux

For security purposes, you’ll want to disable remote root login for your server to prevent hacking.

# vi /etc/ssh/sshd_config

find the line: #PermitRootLogin yes

and change it to: PermitRootLogin no

# service sshd restart

Advertisements
This entry was posted in Linux Security. Bookmark the permalink.

2 Responses to How to disable remote root login in Linux

  1. Robbin says:

    Awesome issues here. I’m very satisfied to look your article. Thank you so much and I am having a look forward to touch you. Will you please drop me a e-mail?

  2. Katharina says:

    Yes! Finally something about dobry dentysta w krakowie forum credit union routing number.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s