delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/11/24/13:13:19

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D95273858288
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1700849598;
bh=vZ2DIfK8SmFUsRKrEcElbcl64oO1hBTZ955Xy/diiPU=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=F8dyytiGvnlBN0FReTeThDJJP1s3OqkXHjAumiKk+OwRVYT4gOjTUULaQWWOCqk00
mKJd584WL4FJeN/kWHc5/3jMUMGmJpve65YOVBnY2p2EiaiM0/Y7wv8XvEvJmaBf5F
0DFH83hAZc0KQPh2opInaE9JlLynKbpJtUiSMtnQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AB5343858CD1
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AB5343858CD1
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700849585; cv=none;
b=Ii5cqrXodbcFmO7GDXt9Uz6orFZboZtLg5HReRkQ5+7rgjLAocw+9B4bU0vLRZphxfHkt6PC4CSt5aAmO3IwecfkXzlaW0zTMJafcHxobY2/ItPJ5csSCOl7nzAa3t9sqguJrJH6AKQq8j5Nv8jl2tUilhy8kATdh+a5Lw6YcTI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1700849585; c=relaxed/simple;
bh=elaFyrEYgqzAYJ66vC5ZjcsCSosJ6vX1NiTsI610Feo=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=SyvIM37dqaZb/RreCvL8aK0XDuwCiIhHmPY9QvbP9tWNzFyU56xrFzZ/aIIAW9Ds2vySWg+aG+Kz53FQ9OH11+UFCRxecacfrtDoDK+7ZGfdNIVk6r792YcvAJMEB94UB8CCGCKJKhSoXp4oG/Ysxo5rNoyaU6qTb3hRI6YuHLE=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1700849583; x=1701454383;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=errn+zf3Oy5j7xHbImR28Yf5r0j/i0pGpamks9gCe/U=;
b=KO+dWEfTU28vZmQzqrgT5m0JygWXQOBO4cLgMLUu4UO1IwoV5DPcRSEQHTUQv7t3hr
/yaw9KmuwYvqp0hXIESg2LTh9rzMsHkrgUmP2Ckofgh51URFl+7vzv22X62T/TfTyQ10
ddmdEXLbRlx6/QKLESXNKNMsiqiu1z3WxBVyL6u4OpVnewPLPAxh00u02q+x6AOKWB+L
GduF3yxhJjiMrOl0seLzcMMTto+W1sBk0voxln9DYSS3dUY5MBNJXGNfRdSlEr82zUpQ
+dpUa9hl9IBGK8coMcCHxn9HYCGkXX8ZG++BoGmubrITCgJs7mBR5Y2AqzyIaNmTLcZx
8umw==
X-Gm-Message-State: AOJu0Yy4+Wsoai+XSd0SfNNykpw6ZQYlmi983/J/3Lw9565Vh3bcrPB+
T0VbC/2WVwaartpuViqN9vDGmDbH+5juDQ==
X-Google-Smtp-Source: AGHT+IGewaXtmywOHr9MyN3sSKM3+wm6DaiNDFbIIVhHaclRgkmftB3ieHg7L2nvox017uEZJyu49w==
X-Received: by 2002:a05:6870:71d1:b0:1ea:21cc:67f3 with SMTP id
p17-20020a05687071d100b001ea21cc67f3mr4368686oag.4.1700849582850;
Fri, 24 Nov 2023 10:13:02 -0800 (PST)
Message-ID: <706af929-9d0b-496b-a05f-2986b0dd283c@gmail.com>
Date: Fri, 24 Nov 2023 12:13:02 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
To: cygwin AT cygwin DOT com
References: <cba6d8a9769ab61ef5e724607d0f32761b3f9308 DOT camel AT gmx DOT li>
<cb49e2b78a4818e090b169cc88bfc497024b4d60 DOT camel AT gmx DOT li>
In-Reply-To: <cb49e2b78a4818e090b169cc88bfc497024b4d60.camel@gmx.li>
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Ren=C3=A9_Berber?= <rene DOT berber AT gmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019