From owner-freebsd-security Tue Aug 22 23:16: 7 2000 Delivered-To: freebsd-security@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 566AF37B424 for ; Tue, 22 Aug 2000 23:16:05 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 22 Aug 2000 23:14:56 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id XAA47182; Tue, 22 Aug 2000 23:15:57 -0700 (PDT) (envelope-from cjc) Date: Tue, 22 Aug 2000 23:15:56 -0700 From: "Crist J . Clark" To: Mike Andrews Cc: freebsd-security@FreeBSD.ORG Subject: Re: scp and >2GB files Message-ID: <20000822231556.J28027@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from mandrews@bit0.com on Wed, Aug 23, 2000 at 01:36:46AM -0400 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 23, 2000 at 01:36:46AM -0400, Mike Andrews wrote: > Any plans to improve scp so it can copy files larger than 2^31 bytes? For > those that haven't tried it, scp dies with "lost connection" almost > immediately after authenticating. (I'm guessing it's seeing the file size > as a negative number and getting confused.) > > It would make a disk-to-disk backup solution I'm working on much easier. > With scp not able to do this easily, I'm not sure what I can use as a > quick replacement - maybe dump/restore to stdout run over an ssh pipeline, > or maybe rdist. I've run tar over an ssh pipeline, but tar doesn't like > files over 2^31 bytes either... > > This is OpenSSH on 4.1-RELEASE, btw. Isn't, $ scp file1 remote:file2 Same as, $ ssh remote 'cat > file2' < file1 But prolly doesn't have that limit. -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message