mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-22 13:34:43 +02:00
Updated Troubleshooting Steps (markdown)
parent
22a7343258
commit
5735527366
@ -6,10 +6,7 @@ Troubleshooting steps for typical service startup and connection issues:
|
||||
|
||||
* Server side: run `sshd` in debug mode
|
||||
* `Stop-Service sshd` (if sshd service is running)
|
||||
* Open cmd as SYSTEM. Download psexec from [here](https://docs.microsoft.com/en-us/sysinternals/downloads/psexec).
|
||||
* `psexec -s cmd`
|
||||
* Note: sshd.exe in debug mode doesn't play well with psexec in interactive mode (psexec -i), don't use this option yet.
|
||||
* `sshd.exe -d`
|
||||
* `sshd.exe -d` This will run sshd in interactive mode under currently logon user (typically as admin)
|
||||
* This will dump debug logs in real time to stdout on the console
|
||||
* You can also add additional `d`s for more detailed loggin:
|
||||
* `sshd.exe -dd` or `sshd.exe -ddd`
|
||||
|
Loading…
x
Reference in New Issue
Block a user