Updated Security protection of various files in Win32 OpenSSH (markdown)

Manoj Ampalam 2017-06-02 22:32:03 -07:00
parent 2a997e50cb
commit c8475ea679

@ -62,4 +62,9 @@ PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /remove otheruser2
PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /remove `"NT SERVICE\sshd`"
PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /grant `"NT SERVICE\sshd`":`(R`)
```
## Client side resources
### User private key files
User's private keys are user's credentials. To prevent unauthorized access to these files, private keys need to be owned by the user and no other user should have access to host key files.
### ssh_config
User level default ssh_config is located in user's profile (~/.ssh/config). This has similar restrictions as the user's private keys described above.