X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7BB6A3858D37
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org
Date: Sun, 27 Feb 2022 16:00:22 +0000
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: cygwin SFTP
Message-ID: <20220227160022.g7gk77camxlrkmyk@lucy.dinwoodie.org>
References: <CAOcDJkEtdmzooPhOFrdM1ioiyEQqwxGccqV7OKrbhJdA+tEt+Q@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAOcDJkEtdmzooPhOFrdM1ioiyEQqwxGccqV7OKrbhJdA+tEt+Q@mail.gmail.com>
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 PDS_RDNS_DYNAMIC_FP, RDNS_DYNAMIC, SPF_HELO_PASS, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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>
Cc: Sam Yang Zilong <mzilongx@gmail.com>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
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 21RG0iGa020568

On Sun, Feb 27, 2022 at 04:07:25AM +0800, Sam Yang Zilong wrote:
> My question is whether Cygwin SFTP can be used on High Availability
> Servers? I am currently setting up 2 Servers, the project requirement is to
> have SFTP for HA. So if one of the servers goes down, sshd service will run
> on other servers.
> 
> If yes, how  can I set up or configure that?
> If not, is there any application that can achieve my goal?

At a high level, I can't think of any reason Cygwin's OpenSSH server
couldn't be used as part of an HA setup.

However, what you need to make it work is going to be very dependent on
the specific HA setup you need, the hardware you're running on, the
network and infrastructure requirements, and so forth.  You're not going
to find a simple guide to setting this up, because there are simply too
many variables.  If you have specific questions, you might be able to
get practical help from the open source community, however things like
working out what the requirements are, or whether they can be met with
any given piece of software, is the sort of thing I would expect to pay
for if I couldn't do it in-house.*

I also do not think this mailing list is likely to be able to offer much
practical support: this list is devoted to Cygwin, and therefore to the
specifics of providing Cygwin's Linux-like environment and API on
Windows systems.  The complicated bits of setting up any HA environment
are at best tangential to that aim.  I think your starting point will
need to be working out what you need for these specific HA services
(a) on Windows and (b) using OpenSSH's SFTP server software, and coming
back to this list for help only when you have specific questions about
running OpenSSH in a Cygwin environment, and which you haven't been able
to answer based on the Cygwin FAQ and documentation.

HTH

Adam

* If you *want* to pay someone to help you with this, my day job for the
past 13 years has been software engineering for high-reliability
telecoms servers, including how to maintain HA SFTP service in that
environment.  My current rate would be £100 or €120 for an initial 50
minute consultation on this topic.  If you'd like to discuss that,
that's definitely off-topic for this list and you should contact me
directly.

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

