Open jdconti opened 1 year ago
@jdconti Thanks for reporting that. I was able to reproduce the issue. Looks like it's related to this: https://github.com/pkg/sftp/issues/321
As a workaround, you can use scp -O test jdconti@bar:/tmp/
to copy files. We should have a patch soon.
I get this issue with agentless nodes on v17. scp -O
still works as a workaround.
Expected behavior: Transfer a file using scp -> teleport daemon (via proxy) using OpenSSH 9.0p1 and observe an exit code of zero on successful transfer.
Current behavior: Transfer a file using scp -> teleport daemon (via proxy) using OpenSSH 9.0p1 and observe a non-zero exit code on successful transfer.
Bug details:
11.2.1
9.0p1
touch testfile; scp testfile user@host:/tmp; echo $?
and observe non-zero exit codedebug3: send packet: type 1 Transferred: sent 6440, received 4660 bytes, in 0.3 seconds Bytes per second: sent 20260.4, received 14660.5 debug1: Exit status -1