delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/28/09:40:58

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 ABF773857823
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
X-Yandex-Fwd: 2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1648474500; bh=SxK/RQ2AXl3L8Cgznbk/vA9h5Ez4e6ypTntqq3RJiAw=;
h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To;
b=eKcwccIJHYzd4nRESemvmK9y2o36QxD/fADFz0UcRHH2Ogopu3MgXVfvAk7THfdY0
gzR8uv16gBQpyuPXyUQj/ty4MmgMHsR7Qt8JN2QOB9B4Z90wuH3TJO60205i3RyuD0
66faziKV/z+fPoIlX6r8jQJdNBsKUjPXPGMDswF0=
Authentication-Results: vla1-68d3ce55e22b.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Mon, 28 Mar 2022 16:27:12 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1784561201.20220328162712@yandex.ru>
To: Neil Aggarwal <neil AT propfinancing DOT com>, cygwin AT cygwin DOT com
Subject: Re: rsync gives me error 12
In-Reply-To: <ec86e3364750c8cbdeac181182c675d5@mail.gmail.com>
References: <0d373fe499f6e363740f3d3fa1dfd440 AT mail DOT gmail DOT com>
<20220325094547 DOT rzavvuqv3nhg4s6y AT lucy DOT dinwoodie DOT org>
<62e2854b675b0437db040419913e4c10 AT mail DOT gmail DOT com>
<20220325133741 DOT 6eua7wghywuoibi3 AT lucy DOT dinwoodie DOT org>
<ec86e3364750c8cbdeac181182c675d5 AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_05, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
KAM_THEBAT, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
XM_LIGHT_HEAVY autolearn=no autolearn_force=no version=3.4.4
X-Spam-Level: **
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>
Reply-To: cygwin AT cygwin 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>

Greetings, Neil Aggarwal!

> Adam:

>> this reads to me like the remote
>> server is closing the connection

> When I run this command on my Windows machine:
> rsync --debug=ALL root AT marketing DOT propfinancing DOT com:/var/www/svnDumps
> /cygdrive/c/Tmp

> I get this output on the screen:
> opening connection using: ssh -l root marketing.propfinancing.com rsync
> --server --sender -e.LsfxCIvu . /var/www/svnDumps  (10 args)
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at io.c(226)
> [sender=3.1.3]
> rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
> rsync error: error in rsync protocol data stream (code 12) at io.c(228)
> [Receiver=3.2.4dev]
> [Receiver] _exit_cleanup(code=12, file=io.c, line=228): about to call
> exit(12)

Please pause here for a moment. Are you using Cygwin ssh or MS Windows provided 
variant? Cygwin rsync is unable to use native Windows apps as tunnel wrappers.
Be it OpenSSH or PuTTY's plink. With exactly the message you see above.

> It is connecting to the Linux server and immediately disconnecting, here
> is what I see in /var/log/secure:
> Mar 25 12:11:00 marketing sshd[43597]: Postponed publickey for root from
> 99.137.191.183 port 64715 ssh2 [preauth]
> Mar 25 12:11:00 marketing sshd[43597]: Accepted publickey for root from
> 99.137.191.183 port 64715 ssh2: RSA SHA256:[removed]
> Mar 25 12:11:00 marketing sshd[43597]: pam_unix(sshd:session): session
> opened for user root by (uid=0)
> Mar 25 12:11:00 marketing sshd[43600]: Received disconnect from
> 99.137.191.183 port 64715:11: disconnected by user
> Mar 25 12:11:00 marketing sshd[43600]: Disconnected from user root
> 99.137.191.183 port 64715
> Mar 25 12:11:00 marketing sshd[43597]: pam_unix(sshd:session): session
> closed for user root

> I'm stumped at this point.

> Thank you,
>   Neil

> --
> Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
> We offer 30 year loans on single family houses!



-- 
With best regards,
Andrey Repin
Monday, March 28, 2022 16:24:44

Sorry for my terrible english...


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