Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29250

Amazon EC2 error " WARNING: UNPROTECTED PRIVATE KEY FILE!" even after changing the permission on Microsoft WSL [closed]

$
0
0

I am using microsoft ubuntu terminal to connect to my EC2 instance using PEM keys. According to the suggestions to this question I did change the permission. Even then I am getting the error

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for 'ATG_party.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 "ATG_party.pem": bad permissions
ubuntu@ec2-52-39-15-72.us-west-2.compute.amazonaws.com: Permission denied (publickey).

Here is what I have tried...

chmod 600 ATG_party.pem
ssh -i "ATG_party.pem" ubuntu@ec2-52-39-15-72.us-west-2.compute.amazonaws.com

How can I solve this issue. Here is my configuration:

OS : Windows 10

Shell : Microsoft Ubuntu terminal


Viewing all articles
Browse latest Browse all 29250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>