T
T
Timur Tuz2015-09-02 12:53:55
Debian
Timur Tuz, 2015-09-02 12:53:55

Slow SFTP. How to speed up?

Firework! Deployed proxmox on hetzner on debian. made a virtual machine on w2k8 in it started an ftp server.
I forwarded from external to this ftp:
iptables -A PREROUTING -t nat -i vmbr0 -p tcp -d external IP --dport 2222 -j DNAT --to 192.168.10.2:22
Now I'm trying to upload files using filezilla via sftp and I get the maximum download speed of only 1.3-1.4 megabits.
I read it - they say maybe a high load on the percent - I checked everything is fine (i7). Bandwidth is also okay. I don't know where to dig anymore. Help win.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill, 2015-09-02
@TTA

ping from where you download files - which one?

I
Igor, 2015-09-02
@merryjane

It's not ftp, it's ssh. Naturally, the speed will be lower, since traffic is being encrypted + you still have traffic.
Solutions:
1. Use a less resource-intensive encryption algorithm, such as arcfour;
2. Do not use nat, but hang a white ip on the virtual machine and go directly;
3. Abandon ssh in favor of something faster like rsync (I don't know if it is raised as a daemon on Windows).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question