Skip to content

Instantly share code, notes, and snippets.

@BindiChen
Created February 23, 2020 20:57
Show Gist options
  • Save BindiChen/0a8cc095e57173e7ea7134579073da1b to your computer and use it in GitHub Desktop.
Save BindiChen/0a8cc095e57173e7ea7134579073da1b to your computer and use it in GitHub Desktop.
Permissions 0644 for AWS EC2 keys
⇒ ssh -i EC2boxkeypair.pem [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'EC2boxkeypair.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 "EC2boxkeypair.pem": bad permissions
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment