Access to virtual machines should be authenticated using SSH keys. Removing the option of password authentication enforces more secure methods while removing the risks inherent with passwords.
Using password authentication is less secure that ssh keys may result in compromised servers
Use ssh authentication for virtual machines
The following example will fail the azure-compute-disable-password-authentication check.
The following example will pass the azure-compute-disable-password-authentication check.