Cygwin 3.4.9 - how to install ssh-keygen

René Berber rene.berber@gmail.com
Fri Nov 24 18:13:02 GMT 2023


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.



More information about the Cygwin mailing list