Troubleshooting

The following lists some ideas for troubleshooting :

  • If /var/log/sshd.log says “Privilege separation user sshd does not exist,” then either turn off privilege separation in /etc/sshd_config, or create the “sshd” account (e.g., with Cygwin’s useradd command).

  • Run filemon from the command line, and look for accesses to the ~/.ssh directory.

  • In the Local Security Policy administrative tool, turn on auditing for object access: this is found under Local Policies/Audit Policy. Set it to audit both success and failure. Then select the ~/.ssh folder and enable this auditing for all accesses to the folder and its contents (Properties/Security/Advanced/Auditing).

Get SSH, The Secure Shell: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.