F22 System Wide Change: Set sshd(8) PermitRootLogin=no

Chris Adams linux at cmadams.net
Thu Jan 8 14:52:22 UTC 2015


Once upon a time, Laurent Rineau <laurent.rineau__fedora at normalesup.org> said:
> Le Thursday 08 January 2015 08:42:45 Paul Wouters a écrit :
> > If you want to fight that, you need to set PasswordAuthentication no and
> > insist that people start using ssh keypairs instead.
> 
> Would not the following satisfy everybody?
> 
> Match User root
> PasswordAuthentication no

Simpler version (if the change is desired):

PermitRootLogin without-password

-- 
Chris Adams <linux at cmadams.net>


More information about the devel mailing list