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
- Change the default public SSH port away from 22.