Re:Show HN: A simple Go utility to ease deployments via SSH ...
by silverglass on Friday September 07, 2018 @04:22PM
(#17937351)
Yes, rsync communicates with the rsync at the other end automatically over SSH. You could use rsync by default and then fallback to scp if rsync isn't usable.
Not a bad idea, but I guess I'd need to think about it. Mostly the "large" files I pull from github, or distribution sites. I tend to only upload some simple config-files, and systemd-service units. So the extra overhead of SCP isn't so significant.