public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: Use only ssh server.
Date: Wed, 16 Aug 2023 11:53:11 +0900	[thread overview]
Message-ID: <20230816115311.dd51c73687ad5828dbb78eab@nifty.ne.jp> (raw)
In-Reply-To: <20230816101313.7f4865e61487ab852361a771@nifty.ne.jp>

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.yano@nifty.ne.jp>

  reply	other threads:[~2023-08-16  2:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14  5:56 Paolo Sezart
2023-08-14  6:02 ` Takashi Yano
     [not found]   ` <CAP77oFvrFEew+ZSeHb+HJBt4V-zYWknq4qpYMqd-feHfHucD5A@mail.gmail.com>
2023-08-16  1:13     ` Takashi Yano
2023-08-16  2:53       ` Takashi Yano [this message]
2023-08-16  3:13         ` Takashi Yano

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=20230816115311.dd51c73687ad5828dbb78eab@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --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).