From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 13:33:19 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FA3416A4CE for ; Thu, 19 Feb 2004 13:33:19 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9191043D1F for ; Thu, 19 Feb 2004 13:33:18 -0800 (PST) (envelope-from freebsd@stevenfettig.com) Received: (qmail 15037 invoked from network); 19 Feb 2004 21:33:17 -0000 Received: from c68.115.22.188.jvl.wi.charter.com (HELO stevenfettig.com) (68.115.22.188) by relay.pair.com with SMTP; 19 Feb 2004 21:33:17 -0000 X-pair-Authenticated: 68.115.22.188 Message-ID: <40352B96.8070205@stevenfettig.com> Date: Thu, 19 Feb 2004 15:33:10 -0600 From: "Steven N. Fettig" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040213 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SFTP vs. SCP and transfer rates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 21:33:19 -0000 I know this question doesn't relate directly to FreeBSD, but because I use both sftp and scp on FreeBSD systems constantly, I thought someone here might know. If I sftp into a server and get a file, it usually transfers at about 1.2 KBps - regardless of interface, machine speed and connection speed. If I transfer a file via scp, it transfers at around 6.5 MBps on a gigabit link. If the link is slower, it still transfers at a rate many multiples of my sftp transfer. Is there a reason why one form works faster than the other? I remember someone once mentioning that sftp is really designed to run at a much slower rate than is available on many intranetwork connections these days. If this is true, is there a way to make changes? Is scp also limited by a number of speed factors? (Because even though it is much faster, it still is not necessarily moving at a speed my network gear is capable of.) TIA, Steve Fettig