Issue
I want to connect my ec2 with SSH. But i get this error :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions for 'F:\\Config\\first1.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "F:\\Config\\first1.pem": bad permissions
[email protected]: Permission denied (publickey).
How can i solve this problem on Windows?
Solution
If permissions are too open for your private SSH key (regardless of OS) you will not be able to use the key.
Generally it should be as low permission as possible (Read only by your user only), at minimum on Windows you should be able to remove all other users permissions which will allow the key to be loaded.
Answered By - Chris Williams Answer Checked By - Robin (WPSolving Admin)