Date: Sat, 28 Jul 2001 09:48:47 -0700 From: Fred Condo <fred@condo.chico.ca.us> To: Michael Vince <pvince@bigpond.net.au> Cc: stable@FreeBSD.ORG Subject: Re: scp/sftp large file transfers always fail Message-ID: <20010728094847.D17672@absinthe.condo.chico.ca.us> In-Reply-To: <00f301c11759$b97c3de0$2201a8c0@purple>; from pvince@bigpond.net.au on Sat, Jul 28, 2001 at 09:37:39PM %2B1000 References: <00f301c11759$b97c3de0$2201a8c0@purple>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010728094847.D17672>