X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B017C385C410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1700845071; bh=8EwZJY/F1nTQ7jceKTfwt2TwZhXfobHc41IJRJDr5Ew=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=xKIgD/rpB1QqPJ9ES+hGEx4+RMBAAXnGew49llmj84zB6TkKD/gqf7pySXhDzyyXS etNJvM5+UsE0IaWkF2JaHFt3g5XsX0rJceIjxoOajvPlvDvICe2+Fh4HNbpO0EXD9K rE5CSkDuVLQ4Qi/qb+cm0x4HsyyjYazMHgJ0aZGk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C8E0A3858C66 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C8E0A3858C66 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700845031; cv=pass; b=oXqDpCTGIhkei1od0n3Y9ojT3G1Z3iSPCd88oa9tZkrkI5rdDph/35+M2d4vwkp8GUUOwCIOvJsSpaFLOFR3Zc87ibOYqkDGXTgB/69xrqVPgxOF0XA3XxZiRrjABFpGFt7iW6EGINzzoohS4OVRVzU9EpNpwXC5uM0wqqLCtmI= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700845031; c=relaxed/simple; bh=bGuyGaA+gX6k5Y0HmxQsxTjKMlk0sQi6TBeZYgfcx4U=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=ok3f+dwNLmSNbSP5zsU9AZSAl3eQXuGgBPVHU8xZBnfBZpUOXIvo4jvnYfzixVafH9FA6RCWGmcKRoYOIut6fkiksbh0zAViPZoYJsqxziVDlsIJ7YI5xfB2ZH+LJBi84nb2r9YTInXc48LIO9WePqzfxB4zxC6ddEYGwGjhFUE= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ocpBD14G9UFgsGgYQwJN7Xi64F4focpb9NcowQ32VfmabNoIqGmCbuZllifHsQ4jlspxj+449NGQ476n5JBtrqzcZNKk+GA/qMZPQ96fHn0fOTM+AhvWkbWi0rYQw25SKC1kT0sW8kVlwWsZIVIS/W6Wp/Akb7Tzphm0I8qkQ7cv5k9YDoJIATewAJmkZCQjYjiHrDy8Ka9awlEJ8ONf6hCOz6SqiUJOEFLlPoiPDAIa+kP5SwkGgIJjAv9tTYQUilgpjW0QyMaEpUAw2VwTX88VvBLijRgOcQHp0NY5gB4Ep72cKD6kKSfd7b6SGRpPG72E2CQuHfOB9X2y800JBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bGuyGaA+gX6k5Y0HmxQsxTjKMlk0sQi6TBeZYgfcx4U=; b=jyA110O3hpTpFp8XI4+ZydT961T6arp7LEdkzGleoWjvCEkRjBcDHp7ORVOblKbCmR/jmhcxSNu3iqQkYn0TGvbQ4MGdfnL8msTpCFu7xyHH79MYhfV2CgVJApqee3OlyAD2dIq/C2gyEixnh+R8VNa50P7naY0jHXfSLTzJct9C1CJDeLpyVEJw14jhSaJFngszyXlcTTieOZHwqt4nCbblni27snXKjH4+rpvxnAX0LaK5vDOLqUQNntvR6zo0geulXXFbvMRTocWwfdHUBcNq7h9x6wyh9qcGjWHQG9Y+KncB8c9OoGwVf9KUUoWiOWIwJIuFDgTGZO7q93yCIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bryanhealth.org; dmarc=pass action=none header.from=bryanhealth.org; dkim=pass header.d=bryanhealth.org; arc=none To: "Matthias AT gmx DOT li" , "cygwin AT cygwin DOT com" Subject: RE: EXTERNAL SENDER: Re: Cygwin 3.4.9 - how to install ssh-keygen Thread-Topic: EXTERNAL SENDER: Re: Cygwin 3.4.9 - how to install ssh-keygen Thread-Index: AQHaHsnYZlOZsSk9iUG2DlXWJZHPNbCJrxyw Date: Fri, 24 Nov 2023 16:57:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR16MB4782:EE_|SA2PR16MB4316:EE_ x-ms-office365-filtering-correlation-id: 31bf8887-ef51-405c-5c3f-08dbed0e636a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c0nySQVEeNP6kcyrMb5anWkagiOqk5k+ww2tlk5+VdE2pFwYahrPkLUlk4wLYvUUaJDJixAsyGML50Ap0H6FjLL5vA1fKRGwCBIzCNTY9Y+sxQt7PkrS/usy5Ca5Kd/OB3OBFwMdeJjVNvEEE6+5FaMC6spstCFHNXBkh316Tw4++fpn+mZ0hpoJYLMuxbs7cSc/A+EmtJS5JnDO3WW/fybRHD1+C4fdYVR/fBJyEDyw5p7vL1YKOIpzo/f9ixsGM7S9pk3EGracbS699NXy4dJ8ekdNLH5hhPdxjrLlheG2UYJBOI9zmyjatRkEXpY4RQaVoqWI0z1fgxSjpFWJsfr4Is1UQfLq8Jb2f8wcDzsFpEkXCWqID7wwPLyGWGUidlUF64+qCCYXUkmD+Rl1WDvFrCgnOsiZJTBKs2HcMFC+HbED0+O4BPpioES8MZWE3pDI2afkgBHH22AYywvSsyHm/imbZWkXbXrug7TnoAi42WhpbzJqVFVgb0RpZ222SqxNbZ8+UjObHhSuA7eJI8K1w12Z4dGiExLysF1U3PdA28q02Oup7vss9A3j3oZeWIruoqfhJ9q3LmyuGlof1Cg1cw0uE4fFjFFd6V8ygTFxT83CchCl2hzzNfL/QQ1N5snkgKdq+BXiiel/f+vjVqoehMEnFpFPUKxMyarZKK1hmMEvFiB3lTH6N9bFGZwHRVsqQ5krCNQr537a5Dywdl2f1uo5Y0ti9WCNUr76sDk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR16MB4782.namprd16.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39840400004)(396003)(136003)(346002)(366004)(376002)(230273577357003)(230373577357003)(230922051799003)(230473577357003)(230173577357003)(1800799012)(451199024)(64100799003)(186009)(38100700002)(86362001)(55016003)(122000001)(2906002)(33656002)(83380400001)(52536014)(8676002)(8936002)(26005)(41300700001)(9686003)(53546011)(71200400001)(66556008)(66446008)(66476007)(316002)(64756008)(6506007)(7696005)(66946007)(110136005)(76116006)(38070700009)(5660300002)(478600001)(491001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VS9YanFZVStmVllVRnMxdGdZZ21jcWh3M21nRWNuOVAvQjZIcnUzWkRlOFVJ?= =?utf-8?B?ekhVUG9Vd1NDVzNLR0JIeGo1aEpLNTQrL2k4VjdTMnplbUE4YVhaRzd1NExu?= =?utf-8?B?eHE1dEV0cURsTGhyc0RmcEI4bG94MXlKcGNISUxvalBZcjJuUGR4WkRDK2lG?= =?utf-8?B?ejdjM1RaM3oxcFE2UlgyclowRzZ5RlR0bFdOQXRQcmpCTVBndXhqb1dKamZX?= =?utf-8?B?MUVDRFNqTm5ydmpoSGVyOVNXNU1TOENzcXc4ZDVRVHJQM2FBNFIzVDNGZVFh?= =?utf-8?B?dlIrOUEzaXVIUW9mRllTTERDakRnREdTa2xSVUhoZm1WTlZoNm8vL2Q3TEJi?= =?utf-8?B?S2R2RGgyR3Q4cmNDUDZHR3lLdWFyRVB0S2JUYkZPNUl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Tenant-AuthSource: PH0PR16MB4782.namprd16.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31bf8887-ef51-405c-5c3f-08dbed0e636a X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2023 16:57:05.5734 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 09b11d70-e37c-4120-b532-c13f0e4aa18f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SygA5yWvNA2Z/qPdajXcnG7qfcw0fOXVYDsaw2W/lrrwwvrZ1c3vdWjfk+mX6GY530qUFUI1uV219awOD/x63w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR16MB4316 X-Proofpoint-GUID: PgHdauhlI1AqtwJSN7-bh5udhQjxBTu6 X-Proofpoint-ORIG-GUID: PgHdauhlI1AqtwJSN7-bh5udhQjxBTu6 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 adultscore=0 priorityscore=1501 mlxscore=0 spamscore=0 phishscore=0 clxscore=1011 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311060001 definitions=main-2311240131 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, LIKELY_SPAM_FROM, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: "Dale Lobb \(Sys Admin\) via Cygwin" Reply-To: "Dale Lobb \(Sys Admin\)" Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AOGvqkO024883 > -----Original Message----- > From: Cygwin > On Behalf Of Matthias--- via Cygwin > Sent: Friday, November 24, 2023 5:32 AM > To: cygwin AT cygwin DOT com > Subject: EXTERNAL SENDER: Re: Cygwin 3.4.9 - how to install ssh-keygen > > Am Montag, dem 20.11.2023 um 17:54 +0100 schrieb mailto:Matthias AT gmx DOT li: > > 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 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? > > > > Thanks in advance > > Matthias > > > Hello, > > I installed cygwin 3.4.9-1 with all defaults plus openssh 9.5p 1-1 plus rsync > 3.2.7-1 in my virtualbox running on Windows 10 again. > > In /var/log/setup.log I found "can't run /etc/postinstall/openssl.sh: No such file" > Anyhow, I opened the Cygwin64-Terminal as Administrator and run ssh-host-config > but no host-keys has been created: > $ ssh-host-config > > *** Info: Generating missing SSH host keys > *** Info: Creating default /etc/ssh_config file > *** Info: Creating default /etc/sshd_config file > > *** Info: StrictModes is set to 'yes' by default. > *** Info: This is the recommended setting, but it requires that the POSIX > *** Info: permissions of the user's home directory, the user's .ssh > *** Info: directory, and the user's ssh key files are tight so that > *** Info: only the user has write permissions. > *** Info: On the other hand, StrictModes don't work well with default > *** Info: Windows permissions of a home directory mounted with the > *** Info: 'noacl' option, and they don't work at all if the home > *** Info: directory is on a FAT or FAT32 partition. > *** Query: Should StrictModes be used? (yes/no) no > *** Info: Updating /etc/sshd_config file > > *** Query: Do you want to install sshd as a service? > *** Query: (Say "no" if it is already installed as a service) (yes/no) yes > *** Query: Enter the value of CYGWIN for the daemon: [] > > *** Info: The sshd service has been installed under the LocalSystem > *** Info: account (also known as SYSTEM). To start the service now, call > *** Info: `net start cygsshd' or `cygrunsrv -S cygsshd'. Otherwise, it > *** Info: will start automatically after the next reboot. > > *** Info: Host configuration finished. Have fun! > > $ ls -alh /etc/ssh* > -rw-r--r-- 1 SYSTEM Administratoren 1.5K Nov 24 12:02 /etc/ssh_config > -rw-r--r-- 1 SYSTEM Administratoren 3.1K Nov 24 12:02 /etc/sshd_config > > Also running ssh-user-config don't create any keys: > $ ssh-user-config > *** Query: Shall I create a SSH2 RSA identity file for you? (yes/no) yes > *** Info: Generating /home/meyer/.ssh/id_rsa > *** Query: Do you want to use this identity to login to this machine? > (yes/no) yes > *** Info: Adding to /home/meyer/.ssh/authorized_keys > cat: /home/meyer/.ssh/id_rsa.pub: No such file or directory > *** Query: Shall I create a SSH2 DSA identity file for you? (yes/no) no > *** Query: Shall I create a SSH2 ECDSA identity file for you? (yes/no) no > *** Query: Shall I create a (deprecated) SSH1 RSA identity file for you? > (yes/no) no > > *** Info: Configuration finished. Have fun! > > $ 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 > > An indication of an installation/configuration error of ssh-keygen is that also > /usr/bin/ssh-keygen -vvf /etc/ssh_host_rsa_key -N '' -t rsa > don't produce any output. Also if it has return value 0. BTW: Windows > OpenSSH isn't installed on my > machine. > > René Berber wrote that my files have the wrong permissions. But for shure, > /home and /home/meyer has > been created during cygwin installation and /home/meyer/.ssh by ssh-user- > config. > > 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? > > Thanks in advance > Matthias > > Try this and look to the end. Is there perhaps a segmentation fault error? $ strace ssh-keygen I have a VM with Cygwin installed in it, which used to work for all the installed packages. However, after a recent update, all binaries linked to openssl now produce silent segmentation faults. Could be happening to you too. Best Regards, Dale ________________________________ CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- 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