SSH Key-based authentication (also known as public-key authentication) allows for password-less authentication and it is a more secure and a much better solution than password authentication.
Source: Linux Today – Setup Passwordless SSH Login for Multiple Remote Servers Using Script