From 3f59e14d6766ad398bb511ea7fb5b2e9db1b792a Mon Sep 17 00:00:00 2001 From: manojampalam Date: Tue, 22 Sep 2015 13:25:48 -0700 Subject: [PATCH] Updated Running ssh and sshd (markdown) --- Running-ssh-and-sshd.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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)