-
Notifications
You must be signed in to change notification settings - Fork 802
Troubleshooting Steps
Joey Aiello edited this page May 15, 2017
·
17 revisions
If sshd won't start:
- Ensure that
sshd_configis in the same directory assshd.exe - Ensure that host keys are generated and have the correct file permissions:
- Ensure that private host keys are secured
- Ensure that
NT service\sshdhasReadaccess to public and private key files
Troubleshooting steps for typical connection issues:
- Server side: run
sshdin debug modenet stop sshd- In an elevated Administrator console, run
sshdin debug modesshd.exe -d
- This will dump debug logs in real time to stdout on the console
- You can also add additional
ds to get more debug information:-
sshd.exe -ddorsshd.exe -ddd
-
- Client side: start
sshin verbose modessh.exe -v ...- This will dump verbose logs in real time to stdout on the console
- You can also add additional
vs to get more verbose messages:-
ssh.exe -vv ...orssh.exe -vvv
-
Troubleshooting more complex issues:
- Server side
- Stop
sshdandssh-agentservicesGet-Service ssh* | Stop-Service
- Delete
sshd.logandssh-agent.log(in thelogsdirectory of your installation path) - Set
LogLeveltoDEBUG(orDEBUG2/DEBUG3for higher levels of logging) insshd_config - Rerun the workflow that's giving you problems.
logs\sshd.logandlogs\ssh-agent.logwill containsshdandssh-agentrelated traces respectively. - If the problem isn't clear, please post these logs along with some steps to help us reproduce your problem in our GitHub Issues.
- Stop
- Client side
- Set
LogLeveltoDEBUG(orDEBUG2/DEBUG3for higher levels of logging) inssh_config. - Run
ssh.exein verbose mode as detailed above
- Set
- MSI Install Instructions
- Script Install Instructions
- Alternative installation using the universal installer
- Retrieving download links for the latest packages