Sender and receiver to transfer files over ssh on request?
问题 I created a program that iterates over a bunch of files and invokes for some of them: scp <file> user@host:<remotefile> However, in my case, there may be thousands of small files that need to transferred, and scp is opening a new ssh connection for each of them, which has quite some overhead. I was wondering if there is no solution where I keep one process running that maintains the connection and I can send it "requests" to copy over single files. Ideally, I'm looking for a combination of