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.
If you found this post helpful, please consider sharing to your network. I'm also available to help you be
successful with your distributed systems! Please reach out
if you're interested in working with me, and I'll be happy to schedule a free one-hour consultation.
chmod 600 authorized_keys*