Username/Email:  Password: 
TwitterFacebookFlickrRSS

Disabling the Root Account on Your SSH Server

FAIL (the browser should render some flash content, not this).

Download in .ogv format

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

opensuse

felipe's picture

opensuse has PermitRootLogin yes, *and* they have ssh enabled by default. The firewall has port 22 blocked by default. You can't rely on the firewall to protect anything. If you disable root account on ssh, no amount of brute force will break **that**, but firewalls can be (have been) easily circumvented, in one way, or another.

Since OpenBSD has the slogan "secure by default" shouldn't OpenSSH be "installed secure by default" even on a GNU distro?

opensuse too

macias's picture

Opensuse has open root account for ssh login -- I reported it, and it was closed as wontfix because... "it is secure". Why it is secure? Because ssh is off by default. Thank you very much for such security. Scary :-(

Technical note: I don't care what is trendy now or not, but "video articles" are disaster. They are not searchable, they require more data than text for the same amount of information. They are more difficult to manage. Please stop this, put normal text articles.

Both?

Shawn Powers's picture

We try to do both video and text. Lots of people enjoy the videos, and learn better by watching/hearing. While I wouldn't expect the video format to replace the standard article -- I like to think of it as a useful addition to our regular content.

Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter

Disabling the Root Account on Your SSH Server

lipbalm's picture

I wanted (hoped?) to argue with you about the fact that most distros had PermitRootLogin set to "yes", but you are absolutely correct. I verified the setting on vanilla installs of Fedora 10, Mandriva 2009.0, and Ubuntu 9.04. Of the three, only Mandriva had ssh password logins turned off out of the box. Yikes...I'd prefer to see that off by default.

Great tip (and keep 'em coming)!