Open atheiman opened 7 years ago
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.
/local/path/symlink
this was discovered in https://github.com/test-kitchen/test-kitchen/issues/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.
test-kitchen
I am running into the same issue. Is there a work around?
@LeoSnets you might try net-sftp, but no I have not found a workaround for this. I assume the code fix wouldn’t be too bad, but I haven’t looked.
Given this code:
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 https://github.com/test-kitchen/test-kitchen/issues/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 oftest-kitchen
.