Updated Troubleshooting Steps (markdown)

Manoj Ampalam 2018-03-30 14:52:48 -07:00
parent a15acdc668
commit 8bfa54b756

@ -1,3 +1,5 @@
See [Logging Facilities](https://github.com/PowerShell/Win32-OpenSSH/wiki/Logging-Facilities) to modify logging location.
Troubleshooting steps for typical service startup and connection issues: Troubleshooting steps for typical service startup and connection issues:
* Server side: run `sshd` in debug mode * Server side: run `sshd` in debug mode
@ -20,7 +22,9 @@ Troubleshooting more complex issues:
* Stop `sshd` * Stop `sshd`
* `Stop-Service sshd` * `Stop-Service sshd`
* Delete `sshd.log` and `ssh-agent.log` (under %programdata%\ssh\logs) * Delete `sshd.log` and `ssh-agent.log` (under %programdata%\ssh\logs)
* Set `LogLevel` to `DEBUG` (or `DEBUG2`/`DEBUG3` for higher levels of logging) in `sshd_config` * Set the following in `sshd_config`
* `LogFacility LOCAL0`
* `LogLevel` to `DEBUG` (or `DEBUG2`/`DEBUG3` for higher levels of logging)
* Rerun the workflow that's giving you problems. `logs\sshd.log` will contain `sshd` related traces. * Rerun the workflow that's giving you problems. `logs\sshd.log` will contain `sshd` related traces.
* If the problem isn't clear, please post these logs along with some steps to help us reproduce your problem in [our GitHub Issues](https://github.com/powershell/Win32-OpenSSH/issues). * If the problem isn't clear, please post these logs along with some steps to help us reproduce your problem in [our GitHub Issues](https://github.com/powershell/Win32-OpenSSH/issues).
* Client side * Client side