Ubuntu Tutorials Copy/Paste tutorials for Ubuntu

9Nov/090

Disable root login to SSH

Allowing root logins to your SSH damon is a big security threat. If the SSH port is open, hackers will probably at some time attempt to brute force your root password. It's a good idea to disable root logins to SSH and instead use a normal user to login and use sudo to perform tasks that require root privileges.

1. Open the SSH daemon config file and change this line: (sudo pico /etc/ssh/sshd_config)

PermitRootLogin no

2. Restart the SSH daemon

sudo /etc/init.d/ssh restart

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • Live
  • Netvibes
  • Netvouz
  • PDF
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


Spam Protection by WP-SpamFree Plugin

No trackbacks yet.