Configure passwordless SSH login

You can login to an SSH server without password by using public key authentication via these steps;

  1. Generate an SSH key pair. Make sure to not set any passphrase for the key pair
  2. Enable public key authentication in the target server
  3. Copy your SSH public key to the server

You will no longer be prompted for password the next time you log in to the server.

Sign up for Complete Secure Shell Course and many other great courses on Udemy to learn more.

Written by Mohd Shakir Zakaria. Last updated on 2019-02-12