
If there's any user or group with that name then it'll load that. I had same issue and I solved that using this method.
#Chmod 400 pem full
This will setup Full Control permission to SYSTEM, Administrators and Your User.Īfter that try to ssh using that key. Then, Click on OK > Type Allow > Basic Permisisons Full Control > Okay
#Chmod 400 pem how to
Icacls $Key /c /t /Remove:g Administrator "Authenticated Users" BUILTIN\Administrators BUILTIN Everyone System UsersĪnswer by iBug works fine! You can follow that and get rid of this issue.īut there are few things which are needed to be cleared as I faced issues during setting up permissions and it took few minutes for me to figure out the problem!įollowing iBug's answer, you'll remove all the permissions but how do you set Full Control permission to yourself? that's where I got stuck at first as I didn't knew how to do that.Īfter Disabling Inheritance, you'll be able to delete all allowed users or groups.Ĭlick on Add then click on Set a Principal then enter System and Administrators and your email addredd in the field at bottom then click on check names. New-Variable -Name Key -Value "$env:UserProfile\.ssh\id_rsa" Icacls %Key% /c /t /Remove:g "Authenticated Users" BUILTIN\Administrators BUILTIN Everyone System Users
#Chmod 400 pem windows 7
I've OpenSSH 7.6 installed in Windows 7 for testing purposes.
