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