rsync over ssh fails with --files-from

Kevin Korb kmk at sanitarium.net
Wed Dec 20 16:01:10 UTC 2023


What is the error?  I assume you know that with that syntax the 
filelist.txt is local rather than remote.

On 12/20/23 09:50, Alex via rsync wrote:
> Hi, I've been using rsync on fedora over ssh to sync directories for 
> decades, but suddenly having a problem with transferring multiple files 
> at a time to one specific host using --files-from. I can't think of what 
> might have changed to have caused this. Using rsync to transfer a single 
> file to this problematic host works successfully. It appears to be 
> related to the number of files in the --files-from filelist. More than 
> nine and it stalls; less than nine and it finishes successfully. I'm 
> using the same version of rsync on both sides.
> 
> (Server) Protocol versions: remote=31, negotiated=31
> (Client) Protocol versions: remote=31, negotiated=31
> 
> When running the following command, it appears to collect the list of 
> files to be transferred, successfully makes the connection with the 
> remote server, but then just stalls. Using strace on the remote side 
> shows rsync appears to be waiting for data.
> 
> rsync -avvvv --files-from=/etc/mail/filelist.txt -e 'ssh -i 
> /root/keys/sync-key-v4' /etc/mail/tmp/ polaris:/var/tmp/one/
> 
> sync-key-v4 is a passwordless ed25519 key, but I've tried a handful of 
> other ed25519 keys.
> 
> Could it be related to packet size or some kind of network disparity? 
> It's not related to the size of the files, as I've tried large and small 
> and it doesn't matter - if the number of files exceeds 9, it fails.
> 
> 
> 
> 
> 
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			https://sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,



More information about the rsync mailing list