From Fedora Project Wiki
Description
Ensure the root account cannot be ssh'd into
Setup
This test requires access to a cloud provider (EC2, OpenStack, etc)
How to test
For EC2:
- Boot the latest AMI
- Select defaults (ssh key, etc)
- attempt to ssh in as the root user: ssh -i path/to/keypair.pem root@<public DNS>
Expected Results
Upon connection, you should see:
'Please login as the user "fedora" rather than the user "root".'