Given this code:
ssh.scp.upload('/local/path', '/remote/path', recursive: true)
It looks like if there is a symlink at /local/path/symlink
pointing to another directory on the local filesystem, scp upload fails.
this was discovered in test-kitchen/test-kitchen#1319. In that issue there is a test-kitchen
output that shows the scp failure, but I don't yet have a clean example outside of test-kitchen
.