I am using Ubuntu with a 2Mbps link. I would do scp
to the Ubuntu cloud servers to copy a .war
file which is 14MB. It used to take only 2 minutes to copy this .war
file under /tmp
of the cloud server. Now it takes more than 15 minutes.
While doing scp
it stalls and restarts again. The scp
progress looks like this:
app1.war 15% 2320KB 61.3KB/s - stalled -^
Any tips? I'm asked to fix this soon.
The output of tcpdump -n -n host my-dest-ip and port 22
is (I just stopped it with Ctrl+C)
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
Best Answer
it would be useful to find out if anything obvious is going wrong at the network level. do you have root on either end? can you do a tcpdump to isolate the scp datastream?