On 11/24/2023 5:31 AM, Matthias--- via Cygwin wrote:
[snip]
 * Answered "no" to use StrictMode

OK, this makes the .ssh directory have the wrong permissions.

    $ ls -alh $HOME/.ssh
    total 4.0K
    drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 .
    drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 ..
    -rw-r--r-- 1 meyer Kein 0 Nov 24 12:11 authorized_keys

[snip]
Which permissions the directories and files should have?
What could the reason be that ssh-keygen don't create any key? Looks like it 
wouldn't try it?

Real question is: Does ssh-keygen work with the wrong permissions?

My understanding is no, it refuses to create keys in those directories. And later other ssh parts will refuse to use them.

But I might be wrong. The author of ssh-host-config certainly believed that StrictMode was not necessary.
--
R. B.


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to