diff --git a/Running-ssh-and-sshd.md b/Running-ssh-and-sshd.md index 8812ae1..05ee2d3 100644 --- a/Running-ssh-and-sshd.md +++ b/Running-ssh-and-sshd.md @@ -26,7 +26,15 @@ echo #sshd_config file > sshd_config ./ssh.exe -V #### Running SSH server: +There are 2 ways to run SSH server +##### Running sshd.exe standalone +At this point, sshd.exe needs to run as Local System. Download SysInternals tools and run the following to launch a cmd.exe running under System context +PSExec.exe -i -s cmd.exe +In cmd.exe that appears run +sshd.exe -r + +##### Running sshd in NSSM 1. Download Service Manager tool NSSM [https://nssm.cc/download](https://nssm.cc/download)