mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-08-16 07:28:38 +02:00
Updated Running ssh and sshd (markdown)
parent
1b55bd4524
commit
3f59e14d67
@ -26,7 +26,15 @@ echo #sshd_config file > sshd_config
|
|||||||
./ssh.exe -V
|
./ssh.exe -V
|
||||||
|
|
||||||
#### Running SSH server:
|
#### 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
|
1. Download Service Manager tool NSSM
|
||||||
|
|
||||||
[https://nssm.cc/download](https://nssm.cc/download)
|
[https://nssm.cc/download](https://nssm.cc/download)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user