Open annawoodard opened 5 years ago
Reported by @gordonwatts
see also #642
I've encountered something similar. I think the issue is that use of cwd
is not well defined. When using SSH channels, usually the cwd is the remote user home directory (rather than any specified workdir).
When using
SSHChannel
, files which are expected to be produced in the CWD are instead appearing in the user's home directory. @gordonwatts has written a nice test case here to demonstrate the problem. I've verified on midway (on commit28be4f79321aa164e144a3bd926674e41d6faa6f
of his repo) I see the same behavior. WithLocalChannel
or using a full path to output files his test runs fine.