Troubleshoot
This guide is dated, but I found it useful when trying to figure out why SSH keys wouldn't work.
Windows as SSH Server
With Windows acting as the SSH server:
- Open up Windows Event Viewer.
- Navigate to the path: Event Viewer (Local) > Applications and Services Logs > OpenSSH > Admin > (wait a minute) > Open SSH Event Viewer.
- Review the log based on timestamp of the events.
I've encountered a number of problems due to how SSH key file/folder permissions is handled in Windows.
Problems Encountered
RSA / ED25519 not recognized
- For Windows SSH servers, make sure authorized SSH public keys is formatted using utf-8, and CRLF for line ending format.