Share!

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.