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

Manoj Ampalam 2017-05-25 11:42:46 -07:00
parent ed1460d073
commit a44ecd52ff

@ -48,7 +48,7 @@ ssh_host_dsa_key NT SERVICE\sshd:(F)
otheruser1:(IR) otheruser1:(IR)
otheruser2:(R) otheruser2:(R)
``` ```
Steps to fix these permissions - disable inheritance and remove access to otheruser* Steps to fix these permissions - disable inheritance, remove access to otheruser*, and fix access to sshd
``` ```
PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /inheritance:d PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /inheritance:d
PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /remove otheruser1 PS C:\>icacls .\users\thisuser\.ssh\authorized_keys /remove otheruser1