Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create or open the /home/username/.ssh/authorized_keys file.

    Code Block
    sudo nano /home/username/.ssh/authorized_keys
  • Copy and append the text of the public key file into the authorized_keys file.

  • Exit and save the authorized_keys file.

  • Set the rights to this file to 600 (owner read and write only).

    Code Block
    sudo chmod 600 /home/username/.ssh/authorized_keys
    sudo chown username:username /home/username/.ssh/authorized_keysskeys

Remove requirement for password

...