SSH key configuration is the bane of my existence. No matter how I check and double-check file permissions, there's always that one file or folder that I forget about, that silently triggers SSH ignoring my painstakingly configured SSH key setup, dropping me into a password authentication prompt. In the future, could ssh please display a warning about the file or folder with improper permissions when attempting key-based authentication? It would really help out newbies.
This was added a while ago. For OpenSSH clients they're shown at loglevel "debug" and higher. https://anongit.mindrot.org/openssh.git/commit/?id=48147d6801be6b9158c4bcedce6c67b0d591d642 queue auth debug messages for bad ownership or permissions on the user's keyfiles. These messages will be sent after the user has successfully authenticated (where our client will display them with LogLevel=debug
Closing because of the aforementioned change. Please reopen if you can demonstrate conditions under which the information is not sent and we'll see if we can fix it. Thanks.
Close all resolved bugs after 7.3p1 release