Load key ".pem": bad permissions
chmod 400 ~/.ssh/mykeyfile.pem
pem file is too open
:: # Set Variable:
Cmd /c Set Key="C:\Path\to\keyfile"
:: # Remove Inheritance:
Cmd /c Icacls %Key% /c /t /Inheritance:d
:: # Set Ownership to Owner:
Cmd /c Icacls %Key% /c /t /Grant %UserName%:F
:: # Remove All Users, except for Owner:
Cmd /c Icacls %Key% /c /t /Remove Administrator "Authenticated Users" BUILTIN\Administrators BUILTIN Everyone System Users
:: # Verify:
Cmd /c Icacls %Key%
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us