x/build/cmd/coordinator: ssh proxy should support scp #21140
This is one of the issues I'm looking at. In trying to envision how it would work, the following question came up.
Given that we have
One observation about
It is if you run it by hand.
All that's required to fix this bug (I think) is to respond to "sftp" channel open requests in our ssh server and open a new onward "sftp" channel to the backend and stitch them together with a copy io.Copy goroutines.