To disable password authentication on your server, you can edit the sshd_config file and set the PasswordAuthentication option to no. For example, you can run the command sudo nano /etc/ssh/sshd_config and add the line PasswordAuthentication no to the file. Remember to restart the SSH service for the changes to take effect.