mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-27 16:04:46 +02:00
Created Troubleshooting Steps (markdown)
parent
641f877da8
commit
134c5947ae
18
Troubleshooting-Steps.md
Normal file
18
Troubleshooting-Steps.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Trouble shooting steps for typical connection issues:
|
||||||
|
- Server side - run sshd in debug mode
|
||||||
|
* `net stop sshd`
|
||||||
|
* In an elevated admin console - `sshd.exe -d`
|
||||||
|
* This will dump debug logs real time on console
|
||||||
|
- Client side - start ssh.exe in verbose mode
|
||||||
|
* `ssh.exe -v ...`
|
||||||
|
* This will dump verbose logs on console
|
||||||
|
|
||||||
|
Trouble shooting more complex issues:
|
||||||
|
- Server side
|
||||||
|
* stop sshd and ssh-agent services
|
||||||
|
* delete sshd.log and ssh-agent.log (can be found in the sshd.exe directory)
|
||||||
|
* set LogLevel to DEBUG (or DEBUG2/DEBUG3 for higher levels of logging) in sshd_config
|
||||||
|
* run the scenario. sshd.log and ssh-agent.log will contain sshd and ssh-agent related traces respectively
|
||||||
|
- Client side
|
||||||
|
* set LogLevel to DEBUG (or DEBUG2/DEBUG3 for higher levels of logging) in ssh_config
|
||||||
|
* Run ssh.exe in verbose mode as detailed above
|
Loading…
x
Reference in New Issue
Block a user