public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "René Berber" <rene.berber@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
Date: Fri, 24 Nov 2023 12:13:02 -0600	[thread overview]
Message-ID: <706af929-9d0b-496b-a05f-2986b0dd283c@gmail.com> (raw)
In-Reply-To: <cb49e2b78a4818e090b169cc88bfc497024b4d60.camel@gmx.li>

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.


      parent reply	other threads:[~2023-11-24 18:13 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 16:54 Matthias@gmx.li
2023-11-20 17:16 ` Hans-Bernhard Bröker
2023-11-20 22:41 ` Lee
2023-11-21  8:19   ` Matthias@gmx.li
     [not found]   ` <CAObURJv33N9LRgB-47V2pPguGk0eKw+om29Ft80dNurVWPZPDw@mail.gmail.com>
2023-11-21 19:07     ` Fwd: " Hans-Bernhard Bröker
2023-11-21 19:35       ` Lee
2023-11-27  6:22   ` Marco Atzeri
2023-11-22  2:23 ` Brian Inglis
2023-11-22  7:40   ` Matthias@gmx.li
2023-11-22 15:23     ` Brian Inglis
2023-11-23  8:15       ` Matthias@gmx.li
2023-11-23 16:50         ` René Berber
2023-11-24 11:31 ` Matthias@gmx.li
2023-11-24 16:57   ` EXTERNAL SENDER: " Dale Lobb (Sys Admin)
2023-11-25 16:12     ` Matthias@gmx.li
2023-11-25 18:45       ` ASSI
2023-11-26 17:12         ` Matthias@gmx.at
2023-11-26 19:21           ` Brian Inglis
2023-11-27  7:46             ` Matthias@gmx.at
2023-11-28 23:37               ` Brian Inglis
2023-11-30 13:16                 ` Cygwin 3.4.9 - how to install ssh-keygen - solved Matthias@gmx.at
2023-11-30 19:18                   ` Jose Isaias Cabrera
2023-11-29 21:13               ` Cygwin 3.4.9 - how to install ssh-keygen Jose Isaias Cabrera
2023-11-29 21:38                 ` Brian Inglis
2023-11-29 21:58                   ` Jose Isaias Cabrera
2023-11-29 22:40                     ` Brian Inglis
2023-11-29 21:56                 ` Eliot Moss
2023-11-29 22:30                 ` René Berber
2023-11-29 22:46                   ` Brian Inglis
2023-11-30  1:03                     ` Jose Isaias Cabrera
2023-11-30  1:33                       ` Ken Brown
2023-11-30  8:00                       ` Eirik Nordbrøden
2023-11-30 19:20                         ` Jose Isaias Cabrera
2023-11-30 19:53                       ` Jose Isaias Cabrera
2023-11-24 18:13   ` René Berber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=706af929-9d0b-496b-a05f-2986b0dd283c@gmail.com \
    --to=rene.berber@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).