From owner-freebsd-stable Sat Jul 28 9:49: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from absinthe2.dyndns.org (adsl-63-207-239-50.dsl.chic01.pacbell.net [63.207.239.50]) by hub.freebsd.org (Postfix) with ESMTP id 2A18037B401 for ; Sat, 28 Jul 2001 09:49:01 -0700 (PDT) (envelope-from fred@absinthe2.dyndns.org) Received: (from fred@localhost) by absinthe2.dyndns.org (8.11.3/8.11.3) id f6SGmmZ17975; Sat, 28 Jul 2001 09:48:48 -0700 (PDT) (envelope-from fred) Date: Sat, 28 Jul 2001 09:48:47 -0700 From: Fred Condo To: Michael Vince Cc: stable@FreeBSD.ORG Subject: Re: scp/sftp large file transfers always fail Message-ID: <20010728094847.D17672@absinthe.condo.chico.ca.us> References: <00f301c11759$b97c3de0$2201a8c0@purple> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00f301c11759$b97c3de0$2201a8c0@purple>; from pvince@bigpond.net.au on Sat, Jul 28, 2001 at 09:37:39PM +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 28, 2001 at 09:37:39PM +1000, Michael Vince wrote: > I have been trying to transfer large files over scp and sftp but they always > stall / time out and fail. > If they are small its ok like around 10megs its ok. > But when they are like 50megs or 300megs they ALWAYS fail! > I have tryed everything SSH built into freebsd. > ssh v3 and v2 from ssh.com. > SSH from /usr/ports/security/openssh-portable > I have tryed every cipher in ssh1 and ssh V2 and I had more luck transfering > files to the machine its connecting to but if I connect to a machine and scp > the file back it always files. I use key based authentication. > EG > -rw-r--r-- 1 michael michael 331808388 Jul 25 17:51 file.tar.gz > These are the typical commands I have used > scp -C michael@192.168.1.77:/home/michael/file.tar.gz > /usr/home/michael/backups2/file.tar.gz > scp michael@192.168.1.77:/home/michael/file.tar.gz > /usr/home/michael/backups2/file.tar.gz > And all the different possible ciphers > Then I will end up with this > file.tar.gz 6% |**** > | 20392 KB - stalled - > And then a timeout. > ssh 192.168.1.77 tar -cz -g $tardata $backupdirs -f - " | dd > of=$path/today/$servername-FULL-$date.tar.gz > or even sftp, they all fail. > I am using new hardware.. intel 100mbit cards on pentium 3 /celeron > machines. > Tryed on machine different machines and many different versions of stable > 4.3 > I just want to make it work! but everything I try fails, I am going crazying > trying to make this work! I dont want to have to make a compromise and use > something else I mean scp and sftp are for transfering files right? I don't have a definitive answer for you, but I have had this problem when the network admin of the network of the remote machine misconfigured the switch to be half-duplex when the system was set for full-duplex Ethernet. The key symptom is that transfers work in one direction but not the other. Check the Ethernet settings both of the remote system and your local one. > And also why doesn't OpenSSH have DSA support for scp and sftp like > ssh.com's scp2 and sftp2? It does. Used the -t dsa option of ssh-keygen. Add your new dsa key to ~/.ssh/authorized_keys2 on the remote systems you wish to connect with. -- _________________________________________ ( fred@condo.chico.ca.us Repeal the DMCA. ) ----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message