Public / Private Key Set Up but Not Working?

When you set up public key authentication, make sure your authorized_keys2 file has the permissions set to 600. If you don’t, it’s likely that you will still be prompted for your password.

chmod 600 authorized_keys*