ssh: Enable BatchMode
This commit is contained in:
parent
11289dd7ff
commit
5a81996afb
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ impl Ssh {
|
|||
fn ssh_options(&self) -> Vec<String> {
|
||||
// TODO: Allow configuation of SSH parameters
|
||||
|
||||
let mut options: Vec<String> = ["-o", "StrictHostKeyChecking=accept-new", "-T"]
|
||||
let mut options: Vec<String> = ["-o", "StrictHostKeyChecking=accept-new", "-o", "BatchMode=yes", "-T"]
|
||||
.iter().map(|s| s.to_string()).collect();
|
||||
|
||||
if let Some(port) = self.port {
|
||||
|
|
Loading…
Reference in a new issue