Fill the param file with your own variables.
Run the script configure.sh as root.
From your laptop, generate a SSH key and then use the following command :
ssh-copy-id <USER>@<IP-OF-YOUR-RASPBERRYPI>Authenticate to the Pi and delete the Pi user with the following commands :
sudo pkill pi
sudo deluser piModify the sshd_config file in order to prevent any user from using password authentication.
Restart the ssh service.