How to change a permission of pem file to connect ssh in Windows 10

I faced with a problem.

  1. You open properties of the pem file and move security Tab, then Click the "고급" button

image-20201028193213213

  1. You have to change ownership of the file.

image-20201028193407962

  1. You select a username in your computer to decide the file's ownership. (must a user of person, EX MYCOM)

image-20201028193523881

  1. You select remove all Inheritance.

image-20201028193804585

  1. You add new permission to use. and Select security principal. (ex. MYCOM) , Only Check the Read

image-20201028194040729

  1. The result screen should be as follows.

image-20201028194202231

image-20201028194329201

  1. Finally, Try reconnecting it. Then you'll be able to success.

image-20201028194408420