Created
January 20, 2021 19:03
-
-
Save smartexpert/6987c359b81d904ddd119bc60dab7201 to your computer and use it in GitHub Desktop.
Fix SSH private key permissions on Windows by restricting access to only the current user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
icacls .\private.key /inheritance:r | |
icacls .\private.key /grant:r "%username%":"(R)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment