When working with a server, you’ll likely spend most of your time in a terminal session connected to your server through SSH. A more secure alternative to password-based logins, SSH keys use encryption to provide a secure way of logging into your server and are recommended for all users.
Logging in with username and password is easier to compromise
Use ssh keys for login
The following example will fail the digitalocean-droplet-use-ssh-keys check.
The following example will pass the digitalocean-droplet-use-ssh-keys check.