Skip to content

Instantly share code, notes, and snippets.

View dbuades's full-sized avatar

Daniel Buades Marcos dbuades

View GitHub Profile
### Keybase proof
I hereby claim:
* I am dbuades on github.
* I am dbuades (https://keybase.io/dbuades) on keybase.
* I have a public key ASDs4skIYqTAQ7Tahhe47-GEaKJtiKtTtra1HCoWcTQ7kQo
To claim this, I am signing this object:
# @manojampalam - authored initial script
# @friism - Fixed issue with invalid SDDL on Set-Acl
# @manojampalam - removed ntrights.exe dependency
# @bingbing8 - removed secedit.exe dependency
$scriptpath = $MyInvocation.MyCommand.Path
$scriptdir = Split-Path $scriptpath
$sshdpath = Join-Path $scriptdir "sshd.exe"
$sshagentpath = Join-Path $scriptdir "ssh-agent.exe"