Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
78
rated 0 times [  78] [ 0]  / answers: 1 / hits: 146584  / 1 Year ago, mon, december 5, 2022, 4:11:54

When I attempted to copy a file (of size, ) over the network using scp I get a error <file> stalled
Why does this happen? How do I resolve it?


More From » 10.04

 Answers
1

This happens because scp is trying to grab as much bandwidth as possible, and any delay (by a firewall, etc.) can stall it. Limiting the bandwidth (with -l option) will fix it.



For example, you might want to limit the bandwidth to 1 MB/s (= 8192 Kbits/s):



 scp -l 8192 <file> <destination>


Source: http://www.aixmind.com/?p=1371 - Wayback Machine


[#41812] Monday, December 5, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampolinhad

Total Points: 88
Total Questions: 100
Total Answers: 116

Location: South Georgia
Member since Tue, Feb 1, 2022
2 Years ago
;