We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process_impl::Session
1 parent 1cb0565 commit c0fa5b9Copy full SHA for c0fa5b9
src/process_impl/session.rs
@@ -10,9 +10,6 @@ use tokio::process;
10
11
use tempfile::TempDir;
12
13
-/// Session does not have field "addr" because ssh don't care about
14
-/// the addr as long as we have the ctl.
15
-/// It is tested on OpenSSH 8.2p1, 8.9p1, 9.0p1
16
#[derive(Debug)]
17
pub(crate) struct Session {
18
tempdir: Option<TempDir>,
@@ -48,6 +45,9 @@ impl Session {
48
45
.arg("-o")
49
46
.arg("BatchMode=yes")
50
47
.args(args)
+ // ssh does not care about the addr as long as we have passed
+ // `-S &*self.ctl`.
+ // It is tested on OpenSSH 8.2p1, 8.9p1, 9.0p1
51
.arg("none");
52
cmd
53
}
0 commit comments