In comp.os.linux.networking Tauno Voipio <(E-Mail Removed)>:
> Bob Tennent wrote:
>> On Fri, 15 Apr 2005 16:12:46 +0200, Mihai Osian wrote:
>> > Bob Tennent wrote:
[ Can't login via ssh ]
>> > If you are trying to log-in as root you need to set "PermitRootLogin
>> > yes" in /etc/ssh/sshd_config, otherwise you get exactly what you describe.
>>
>> Thanks. The default sshd_config has
>>
>> #PermitRootLogin yes
>>
>> which is *supposed* to mean that the default is yes but I guess it's
>> conceivable that it's lying.
No it isn't, the default is not to allow direct root ssh logins.
> I'd keep the root login disabled with the current rate of SSH
> brute-force script-kiddy crackers around. I got tired of the
> filling of auth.log with such attempts and even moved the daemon
> to a different port.
> If you need root acess, just log in with a normal user (and please
> use a non-obvious username) and then su to root - makes the thing
> a little more difficult for the undesired guests.
Full ack, if you really think you have to open port 22 for the
rest of the world, disable root logins. Disabling password logins
completely and using key-login is another idea to enhance
security.
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo
(E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 141: disks spinning backwards - toggle the
hemisphere jumper.