Fix Permissions for ‘ssh-key-2022-06-02.key’ are too open. on Windows

Permissions for ‘ssh-key-2022-06-02.key’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key “ssh-key-2022-06-02.key”: bad permissions
ubuntu@[IP adress]: Permission denied (publickey).

if you are on Windows

File Settings > Security > Advanced

Disable inheritance

Convert Inherited Permissions Into Explicit Permissions

And remove but leave your uer name system and administrators

Leave a Reply