crates/remote/src/transport/ssh.rs 🔗
@@ -867,7 +867,7 @@ impl SshRemoteConnection {
if let Some(mut stdin) = child.stdin.take() {
use futures::AsyncWriteExt;
stdin.write_all(sftp_batch.as_bytes()).await?;
- drop(stdin);
+ stdin.flush().await?;
}
let output = child.output().await?;