www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/06/24/01:36:57

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
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>
<MW4PR84MB1684932344B153F3E4F4415AFE23A AT MW4PR84MB1684 DOT NAMPRD84 DOT PROD DOT OUTLOOK DOT COM>
<bced83bb-58c5-f2a8-bc03-578d6d9fd749 AT house DOT org>
<MW4PR84MB1684E6210C73D34ED2223319FE23A AT MW4PR84MB1684 DOT NAMPRD84 DOT PROD DOT OUTLOOK DOT COM>
<754ed51d-ba50-5268-9150-1c6b5c86b5ca AT house DOT org>
<59bddbbd-f934-8a23-3589-31e6db46639d AT harkless DOT org>
<b6e0a7b2-ba6d-35f9-04b5-ca2e9c00ffd9 AT house DOT org>
<aa790149-24c1-a40e-1464-77b138a56c7e AT harkless DOT org>
Organization: Inglis
In-Reply-To: <aa790149-24c1-a40e-1464-77b138a56c7e@harkless.org>
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
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>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>,
Dan Harkless <cygwin-list21 AT harkless DOT org>,
Chris Roehrig <croehrig AT house DOT org>
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 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

- Raw text -


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