X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 508BB3858C2F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1700520105;
	bh=0cPT6AkcqdKjLrhq25/+JdjIWh25THcumishc8BtJ1U=;
	h=References:In-Reply-To:Date:Subject:To:Cc:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=IXgi5V8NftEQb1s52rRLpNVImIhMN7Kn6c05I6zKi2ERv7IAeTbLDfzb9pb333fNa
	 3JG2ACfhf4eOtaAzpsaXHxuRmD6xha7trfPntYAM2ER7w2aiCXWQgRzQwGdgbR8N20
	 9PWLKeyCNdG0t1/hgv/6VBCx+wMkgmH11NrR6Lyc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DD6113858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DD6113858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700520091; cv=none;
 b=osJcdzgTsHxKMOTh+gpjtEC9JiIsVpsADz0Ds6Z/1YF78JevbI0GARp/G0BalH+Yu9lzOrP6BhuAIbgh+g6jCZ6OLKTyvpeIVHH63u9ayLgCFb2S+0ssXBsQcJTz2HZCaLS4DmYcXuF8GnbMvFcZI73KxsY3b8/VfaffhbChenw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1700520091; c=relaxed/simple;
 bh=UPWp+DRCf0JCJGpBcdh+rlhrHl8FoIXLTRTBGV2eU54=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=cfsKelcpPgaANars2fx0YSYePobOrZ20qigTazHDl8xMWruf9/4Rps5MpwHmJ9p+ddQWL9nmedpki4pQYy+lcnkEi548UcUCC6Hkya69Hu6fok8QoTaDy4GWewuDVZGPgXlFxjAYmx1+fq/igJf1dvmJqtSEkkCzmnTZdFzkyuE=
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=1700520089; x=1701124889;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=NlWNh+h3qJwAy/s09vrBRBlRHV4V7/MAIclRjSv8wpg=;
 b=encOiQoiPInGuy/x9CVbS6yKI4RNwtAeRmgP2gKdDUvJAixUprhjhCSc4FEZv+Vpsv
 /MLY33T9Al5JeWeIqINs9xfJyow1fZe2elbc5wxphf/f3Xafcx0y9ndDjT4qg/ji0nc2
 g5RgYKrC4lPuqkriLp7WLKI3lba6BBOX+/pcvuNM3RVOONIH/STyQNHXV0w0S/N/Ct2Q
 WlABvPCWLYUL+hLKOlqHgs/yac6c87aawVFfRmv2qUjxNLwPc2I1o22piJmot8tcss+q
 SpmozVttWwgBZ0E1ksIOx3PdvARuteXi7vV0RfdwGmW//Ha5yAIjSS1O+3CKmK9ctiML
 USVQ==
X-Gm-Message-State: AOJu0YwNR1TH5vrYNErsLFALriuppIo0yIRkqTUOVBkTCqAnJVVKyeQU
 DDMtz92Cjg9w33g9/bsmUB1qMcwCrDc8VmYQ9lQ=
X-Google-Smtp-Source: AGHT+IF2cx1qHP2LPNxzHp0Lvg6+KOcUFSrUOVPlbRZGnfyC20HVsVIW9VgLR4PnEQ7E17tDNaJPZs73gRQRwlBfLvM=
X-Received: by 2002:a6b:c701:0:b0:786:25a3:ef30 with SMTP id
 x1-20020a6bc701000000b0078625a3ef30mr4867850iof.7.1700520089045; Mon, 20 Nov
 2023 14:41:29 -0800 (PST)
MIME-Version: 1.0
References: <cba6d8a9769ab61ef5e724607d0f32761b3f9308.camel@gmx.li>
In-Reply-To: <cba6d8a9769ab61ef5e724607d0f32761b3f9308.camel@gmx.li>
Date: Mon, 20 Nov 2023 17:41:16 -0500
Message-ID: <CAD8GWsvy7TuB7ESTrrcgXDAFu1WtzW2kCV-7GWqXnWFnSqFXSA@mail.gmail.com>
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
To: "Matthias@gmx.li" <matthias.meyer@gmx.li>
Cc: cygwin@cygwin.com
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 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@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Lee via Cygwin <cygwin@cygwin.com>
Reply-To: Lee <ler762@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AKMflte009897

On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote:
>
> Dear all,
>
> I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10.
> After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal as Administrator and
> run ssh-host-config.
>  * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config
>  * Answered "no" to use StrictMode
>  * and "yes" to install sshd as a service
>  * I just press <enter> for the question for "Value of CYGWIN for the daemon".
> cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys available".
>
> Unfortunately  I can't find ssh-keygen in the installable packages.
> Howto install ssh-keygen or how to create hostkeys?

The easy way to see if it's already installed
  $ which ssh-keygen
  /usr/bin/ssh-keygen

If no, Cygwin is a bit of a pain when looking for a program that's
included in another package.

There's probably a better way, but I use the cygwin package search - eg:
  https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ssh-keygen
and then take a guess as the most likely candidate in the results list
and click on that link to see if it's included in that package - eg
  https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fopenssh%2Fopenssh-9.5p1-1&grep=ssh-keygen


Regards
Lee

-- 
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

