delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/15/22:53:33

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E94D93856948
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1692154410;
bh=Mu59Sgc5hy1SLxtgSFcMbxceV7VBqWomRli7Yw15rwk=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Sg4E2lOVIQaedMnPPv49vdg3EFzaiWCF9nRilsF1TdYQmT2sL6mUjXcqiBgJMPWrJ
6k4t8+t7XOX/1gBynoA2q3PU+3WKm0kr6JaXVVcLqBonzBpvFP2XrCui/czyrVcimx
FY29xZYxmwI/Ly+RlaxrQnwzV6Qnenp050MnKEVk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D8EAB3858002
Date: Wed, 16 Aug 2023 11:53:11 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Use only ssh server.
Message-Id: <20230816115311.dd51c73687ad5828dbb78eab@nifty.ne.jp>
In-Reply-To: <20230816101313.7f4865e61487ab852361a771@nifty.ne.jp>
References: <CAP77oFszpc=fg+bx=0pCYMth1-LN_GON0NRGKe=mQ1zsTgyRaA AT mail DOT gmail DOT com>
<20230814150228 DOT 0e88b400c8e272a31e506924 AT nifty DOT ne DOT jp>
<CAP77oFvrFEew+ZSeHb+HJBt4V-zYWknq4qpYMqd-feHfHucD5A AT mail DOT gmail DOT com>
<20230816101313 DOT 7f4865e61487ab852361a771 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS,
TXREP 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.29
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: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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 Wed, 16 Aug 2023 10:13:13 +0900
Takashi Yano wrote:
> On Mon, 14 Aug 2023 11:06:46 +0500
> Paolo Sezart wrote:
> > I have windows 7 and for this I would not want to install windows 10.
> 
> OK, I see.
> 
> Easiest way is install OpenSSH for windows using *.msi
> installer.
> https://github.com/PowerShell/Win32-OpenSSH/releases
> 
> I guess the installation size will be less than cygwin
> sshd environment.

I tried make minimal cygwin environment where only sshd works.

With /etc/nsswitch.conf having the following two lines:

db_home /cygdrive/c/Users/%U
de_shell /cygdrive/c/Windows/system32/cmd.exe

, only the following files are necessary after running
ssh-host-config.

.:
bin/
dev/
etc/
lib/
sbin/
tmp/
usr/
var/

./bin:
cygcom_err-2.dll*
cygcrypt-2.dll*
cygcrypto-1.1.dll*
cyggcc_s-seh-1.dll*
cyggssapi_krb5-2.dll*
cygiconv-2.dll*
cygintl-8.dll*
cygk5crypto-3.dll*
cygkrb5-3.dll*
cygkrb5support-0.dll*
cygrunsrv.exe*
cygwin1.dll*
cygz.dll*
ssh.exe*

./etc:
fstab
nsswitch.conf
ssh_host_ecdsa_key
ssh_host_ecdsa_key.pub
ssh_host_ed25519_key
ssh_host_ed25519_key.pub
ssh_host_rsa_key
ssh_host_rsa_key.pub
sshd_config

./usr:
sbin/

./usr/sbin:
sshd.exe*

./var:
log/

This takes 6.6MB while OpenSSH for windows takes 6.5MB.
Almost the same size!

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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