X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA4C4385781F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1687584962; bh=HwSx4C2M+Z829mFAtIGJMIRTMcrKcJNpT9dlwGdpu3Q=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=j62u7IX5ZGrZk1sKTGGK0V5/nB4KMahXkRoVSDtkuboVS/av8frdIHg7QIPToNbUT ogT8J4tXrdXG//f3yEbtU7ojeUmsMF/56Vzwd7ftV9cbDyu5TwJgfF5ImwqbhxgQID veeiai9RRGIXSXUT3Qd+vdLsMtgYPHBlTBk1OKNw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E60713858414 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=64968097 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=hQ7_uRSYIJDXGKW_a8oA:9 a=QEXdDO2ut3YA:10 Message-ID: <837e1b67-4847-b324-6472-3a6ff69bb709@Shaw.ca> Date: Fri, 23 Jun 2023 23:35:18 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: scp and ssh 'cat' stalls at 64k bytes Content-Language: en-CA To: cygwin AT cygwin DOT com References: <1b9482bd-2119-732f-cc49-a3930bd3328d AT house DOT org> <947c6b09-c2c0-03db-a4ac-769c4f1b3783 AT Shaw DOT ca> <7fd038be-e163-a5d3-5e28-d79eef977ee5 AT house DOT org> <754ed51d-ba50-5268-9150-1c6b5c86b5ca AT house DOT org> <59bddbbd-f934-8a23-3589-31e6db46639d AT harkless DOT org> Organization: Inglis In-Reply-To: X-CMAE-Envelope: MS4xfMmLgXeKfx1ev+loUUd6ARoNJiKQNsROKrVy+jDL/8YXLof+gpQBR0ODGwkovecV8UcRTlIfzJqint2PEDklOXDNByMTv3siqOK29SJSXvfp7OjXU6+d yFK30CYcvsiXFHeB3M0WuZ08bvL7jnnkcf++AR+hWfUz/WJe/6+tKObouBI932YVxoE38b76j1SDV3bupUEisdMDCdNjBHaibwGaSHy8ONULGqeDHOk1sXqf Es9A9AmCmxhICwqg7wDHgA== X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT 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: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis , Dan Harkless , Chris Roehrig Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 35O5aQa8021325 On 2023-06-23 20:19, Dan Harkless via Cygwin wrote: > On 6/23/2023 6:59 PM, Chris Roehrig via Cygwin wrote: >> On 2023-06-23 18:26, Dan Harkless via Cygwin wrote: >>> On 6/23/2023 5:19 PM, Chris Roehrig via Cygwin wrote: >>> Yes, with all Cygwin64 updates, I was able to scp a file of a few MB >>> from Linux to Windows 10 with no issues. I also tried your 'cat' >>> version, and that worked fine too. >> Thanks. There must be some issue with my setup. Very odd that 'pv' >> works, but 'cat' does not.  ldd shows they use identical libs.   I guess >> I'll start with the pv and cat source. > Before you resort to trawling through source, did you try a fresh Cygwin install > (either to a different directory, or after temporarily moving your current > tree)? Sometimes, e.g. if you use the same "packages" directory between two > different versions of Windows, I've found that Cygwin can get screwed up in > strange ways. The -l|--local-package-dir DIR Local package directory just saves the downloaded tar file in case you want to do a reinstallation. I would expect trying to share the same -R|--root DIR Root installation directory between different systems, when you can really only install on one, and each host system requires specific unique keys to be generated, could give you questionable setups. Just try `cygcheck -c openssh coreutils pv` on each system to make sure the installs say OK, or run setup-x86_64 and Reinstall any faulty package. On each system have you run /usr/bin/ssh-user-config, and run /usr/bin/ssh-host-config from an elevated admin account, customized or added host keys appropriately to /etc/sshd_config, /etc/ssh_config, ~/.ssh/{config,known_hosts,authorized_keys}, /etc/ssh/ssh_host_*_key.pub? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- 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