Hardening Ubuntu Server Security For Use in the Cloud
The following describes a few simple means of improving Ubuntu Server security for use in the cloud. Many of the optimizations discussed below apply equally to other Linux based distribution although the commands and settings will vary somewhat.
Azure cloud specific recommendations
- Use private key and certificate based SSH authentication exclusively and never use passwords.
- Never employ common usernames such as
root
,admin
oradministrator
. - Change the default public SSH port away from 22.