Windows CHMOD 600

前端 未结 12 1453
逝去的感伤
逝去的感伤 2020-12-24 11:11

I\'m trying to connect to Amazon EC2 using OpenSSH in windows but I need to set the permissions of my key file.

What is the windows equivalent of CHMOD 600

12条回答
  •  梦毁少年i
    2020-12-24 11:37

    chmod won't work in windows. Try the following method to restrict the access

    • Right click on the file > properties > security > advanced > disable inheritance > 'Convert inherited permissions into explicit permission on this object'
    • Click on "allow | everyone | Full Control" > edit > 'select a principal' > type your username > 'check names' > select your username > ok > ok > ok (ok until all windows are closed)

提交回复
热议问题