Skip to content

UNPROTECTED PRIVATE KEY FILE!  #67

@pantos27

Description

@pantos27

I created a new ssh connection with a pem private key file
I got error messages every time I tried to connect which did not specify the nature of the problem

Later I used ssh on my terminal and got this message:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for 'Instance.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 "Instance.pem": bad permissions
Permission denied (publickey).

I ran 'chmod 400' on the file and the problem was solved, both on the terminal and in PAC manager

Maybe you should handle this case within the manager itself

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions