Solution to the dreaded message for PEM RSA Key files. WARNING: UNPROTECTED PRIVATE KEY FILE. This private key is too open. Is required that your private key files are NOT Accessible to others. This video shows you how to solve this problem in windows machine running Ubuntu/Debian when trying to connect to AWS EC2 instance using ansible.
Timestamps
0:00 - Introduction and who this would work for
0:47 - Recreate the problem
3:21 - Solution: Change PEM file permissions on windows files (Doesn't Work)
3:53 - Solution: Use Windows Subsystem for Linux (WSL)
4:49 - How to copy code from Windows computer to Windows Subsystem for Linux (WSL)
6:17 - Solution: Change PEM file permissions on Windows Subsystem for Linux (This finally fixes the problem).
6:46 - Explaining Ansible Playbook
8:04 - My thoughts on the root cause of the problem
Get This Notebook and Other notebooks, python files, csv files, plus other FREE Resources - https://evidencenmedia.com/free
Follow me on twitter -- / evidencenmedia
Follow me on Linkedin -- / evidencen
Follow me on Github -- https://github.com/EvidenceN
My Blog -- https://evidencen.com/blog/
Support this Channel -- / @techengineerschool
Support my work directly -- https://evidencenmedia.com/support-Ev...
Email/Contact me -- https://evidencen.com/contact-me/
Thank you for watching and reading the description.