SCP speed question

Bill Campbell linux-sxs
Thu Jan 4 14:03:39 PST 2007


On Thu, Jan 04, 2007, Michael Hipp wrote:
>Alma J Wetzker wrote:
>> What speed should you get with scp on a 100 Mb/s backbone?  I backup my
>> home directory with scp to my server and I am getting 3.8 MB/s.  That
>> seems a bit slow to me.
>
>I don't remember any numbers but that speed looks fairly normal. I've found 
>scp to be rather pokey. It especially seems to loiter for a long time during 
>the beginning and ending phases of transferring each file.
>
>rsync over an ssh tunnel is *much* faster, even on the initial copy. And just 
>as secure.

For many functions such as doing djbdns zone transfers where one
wants to restrict the copies by IP address, but doesn't need to worry
about intermediates seeing the data, or dealing with setting up ssh key
security, using rsync modules provides adequate security without the hassle.
One can easily specify the directory a remote host can access, and allow
only that IP access to the directory.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

When only cops have guns, it's called a ``police state''.
        -- Claire Wolfe, "101 Things To Do Until The Revolution"



More information about the Linux-users mailing list