mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-27 16:04:46 +02:00
Updated Security protection of various files in Win32 OpenSSH (markdown)
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user