delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/27/11:00:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin SFTP
Message-ID: <20220227160022.g7gk77camxlrkmyk@lucy.dinwoodie.org>
References: <CAOcDJkEtdmzooPhOFrdM1ioiyEQqwxGccqV7OKrbhJdA+tEt+Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 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>
Cc: Sam Yang Zilong <mzilongx AT gmail DOT com>
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>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019