Slow sFTP Transfer Speed with SSH Connection (SSH2) » My Digital Life


Compare with FTP which transfer speeds can easily go up to a few or tens of MB/s or GB/s, transferring files with sFTP connection typically lands you at around 30 – 60 KB/s. The buffers and limited availability of resources often end up become a bottleneck for network throughput of sFTP and SCP, especially on long and high bandwidth network links.



 
 

Related Links:

Original URL

http://www.mydigitallife.info/slow-sftp-transfer-speed-with-ssh-connection-ssh2/

Content

Cached Text (at the time of saving)


When using FileZille, SSH Secure Shell client, CoreFTP, PSFTP and other secure FTP clients to transfer files between computers or servers, the transfer (upload and download) speed can be very slow compared with the speed achievable by FTP connection even though there is enough fast bandwidth on network and routers.
Compare with FTP which transfer speeds can easily go up to a few or tens of MB/s or GB/s, transferring files with sFTP connection typically lands you at around 30 – 60 KB/s. The main reason for the reduced transmitting speed is due to the fact that SSH, or SSH2 (which both sFTP and SCP depend on) has protocol implementation and encryption overhead that based on the amount of CPU processor and memory (used in internal flow control buffers) resources given to that transfer session. The buffers and limited availability of resources often end up become a bottleneck for network throughput of sFTP and SCP, especially on long and high bandwidth network links.
If you only able to transfer at a ridiculous low speed of tens of KB/s, try to download and use WinSCP. Once installed, establish a connection session to remote machine or computer by using the following settings and options:
File Protocol: SCP or sFTP with Allow SCP fallback ticked
SSH Encryption cipher selection policy: Move Blowfish to the first priority slot
With this setting, it’s possible to get transfer speed numerous times higher than when using sFTP over SSH2 connection. However, it’s still slow if comparing with unencrypted and unprotected FTP transfer. If you don’t mind about security, FTP is the best choice.
Related posts:
WinSCP – Freeware SFTP and SCP client for Windows
Increase and Speed Up Slow FireWire 1394 Copy and Transfer in Windows XP SP2
Enable Logging of Slow Queries (Slow Query Log) in MySQL Database
Transfer Files to Vista
ppStream Connection Limit in Configuration Settings