mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-24 06:25:35 +02:00
Updated ssh.exe examples (markdown)
parent
7064da33fd
commit
70db644e2a
@ -13,7 +13,7 @@
|
||||
***
|
||||
1. Copy `id_rsa.pub` (client's public key) to corresponding user's directory on ssh server machine
|
||||
* as `%systemdrive%\users\<user>\.ssh\authorized_keys` (path on the ssh server machine)
|
||||
2. Make sure the authorized_keys file is [secured][Secure file] and "NT Service\sshd" has Read access to it
|
||||
2. Make sure the authorized_keys file is [secured][Secure file] (you make need to re-ACL it if it is not.) and "NT Service\sshd" has Read access to it
|
||||
```
|
||||
$authorizedKeyPath = "%systemdrive%\users\<user>\.ssh\authorized_keys"
|
||||
$acl = get-acl $authorizedKeyPath
|
||||
|
Loading…
x
Reference in New Issue
Block a user