Introduction
Key-based authentication lets you log into a remote server without typing a password every time. It uses a pair of keys: one you keep safe on your computer and one you put on the server. This makes logging in faster and more secure.
When you want to connect to a remote server repeatedly without entering your password each time
When you want to improve security by avoiding password-based logins
When automating scripts that need to access remote servers securely
When managing multiple servers and want a simple way to access them
When you want to disable password login to prevent unauthorized access