From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward501p.mail.yandex.net (forward501p.mail.yandex.net [77.88.28.111]) by sourceware.org (Postfix) with ESMTPS id ABF773857823 for ; Mon, 28 Mar 2022 13:35:02 +0000 (GMT) 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 Received: from vla1-68d3ce55e22b.qloud-c.yandex.net (vla1-68d3ce55e22b.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:3385:0:640:68d3:ce55]) by forward501p.mail.yandex.net (Yandex) with ESMTP id A74D36212046; Mon, 28 Mar 2022 16:35:00 +0300 (MSK) Received: from vla5-047c0c0d12a6.qloud-c.yandex.net (vla5-047c0c0d12a6.qloud-c.yandex.net [2a02:6b8:c18:3484:0:640:47c:c0d]) by vla1-68d3ce55e22b.qloud-c.yandex.net (mxback/Yandex) with ESMTP id FmebRKinjq-Z0eagJ4D; Mon, 28 Mar 2022 16:35:00 +0300 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 Received: by vla5-047c0c0d12a6.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id SKtQhee28E-Z0Je3lbm; Mon, 28 Mar 2022 16:35:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 28 Mar 2022 13:27:12 -0000 Date: Mon, 28 Mar 2022 16:27:12 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1784561201.20220328162712@yandex.ru> To: Neil Aggarwal , cygwin@cygwin.com Subject: Re: rsync gives me error 12 In-Reply-To: References: <0d373fe499f6e363740f3d3fa1dfd440@mail.gmail.com> <20220325094547.rzavvuqv3nhg4s6y@lucy.dinwoodie.org> <62e2854b675b0437db040419913e4c10@mail.gmail.com> <20220325133741.6eua7wghywuoibi3@lucy.dinwoodie.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2022 13:35:05 -0000 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@marketing.propfinancing.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...