Windows SSH: Permissions for ‘private-key’ are too open

how to setup permission for .pem file in windows system?

Using GUI –

  • Go to .pem file and right click on it
  • Select the “Security” tab
  • Click on the “Advanced” button [Properties -> Security -> Advanced]
  • Change the Owner -> click on the Change link and Select a Principal User which is logged in currently.
  • We need to remove all the users except the current logged in user from the Permission Entries list.
  • Click on Ok and then check the Group or user names in the Security tab
  • You need to set the Read Permission on clicking the Edit button.

Happy Programming!!

Leave a Reply

Discover more from AI Infrastructure Architect & Enterprise Solution Architect

Subscribe now to keep reading and get access to the full archive.

Continue reading