-
Notifications
You must be signed in to change notification settings - Fork 762
Troubleshooting Steps
Joey Aiello edited this page May 15, 2017
·
17 revisions
If sshd won't start:
- Ensure that
sshd_config
is 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\sshd
hasRead
access to public and private key files
Troubleshooting steps for typical connection issues:
- Server side: run
sshd
in debug modenet stop sshd
- In an elevated Administrator console, run
sshd
in debug modesshd.exe -d
- This will dump debug logs in real time to stdout on the console
- You can also add additional
d
s to get more debug information:-
sshd.exe -dd
orsshd.exe -ddd
-
- Client side: start
ssh
in verbose modessh.exe -v ...
- This will dump verbose logs in real time to stdout on the console
- You can also add additional
v
s to get more verbose messages:-
ssh.exe -vv ...
orssh.exe -vvv
-
Troubleshooting more complex issues:
- Server side
- Stop
sshd
andssh-agent
servicesGet-Service ssh* | Stop-Service
- Delete
sshd.log
andssh-agent.log
(in thelogs
directory of your installation path) - Set
LogLevel
toDEBUG
(orDEBUG2
/DEBUG3
for higher levels of logging) insshd_config
- Rerun the workflow that's giving you problems.
logs\sshd.log
andlogs\ssh-agent.log
will containsshd
andssh-agent
related 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
LogLevel
toDEBUG
(orDEBUG2
/DEBUG3
for higher levels of logging) inssh_config
. - Run
ssh.exe
in 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