Updated OpenSSH utility scripts to fix file permissions (markdown)

Yanbing 2017-06-02 19:58:47 -07:00
parent 8388873a65
commit 82ec4e8c61

@ -1,4 +1,4 @@
Powershell utility scripts are included starting release [V0.0.15.0](https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v0.0.15.0) to automatically fix the permissions on various keys and configuration files for host and user. [Secure protection of various files](https://github.com/PowerShell/Win32-OpenSSH/wiki/Security-protection-of-various-files-in-Win32-OpenSSH) explains why secure enforcement is needed.
Powershell utility scripts are included starting release [v0.0.15.0](https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v0.0.15.0) to automatically fix the permissions on various keys and configuration files for host and user. [Secure protection of various files](https://github.com/PowerShell/Win32-OpenSSH/wiki/Security-protection-of-various-files-in-Win32-OpenSSH) explains why secure enforcement is needed.
- `FixHostFilePermissions.ps1`: checks and fixes the below permissions on default host files:
- user's authorized_keys located at `$env:systemdrive\Users\...\.ssh\authorized_keys`
- host keys generated by `ssh-keygen.exe -A` in the same folder of the script