ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Switch to BatchMode=yes instead of PasswordAuthentication=no (#403)

authored by

marshmallow and committed by
GitHub
c91b3f9e 6627ff78

+6 -11
+2
CHANGELOG.md
··· 22 22 during execution. 23 23 - Cases where there are no keys to deploy, such as having 0 keys or filtered 24 24 keys, the "Key" step will not be planned when it previously would have. 25 + - Changed non-interactive SSH executed commands to use `BatchMode=yes` instead 26 + of using `PasswordAuthentication=no` and `KbdInteractiveAuthentication=no`. 25 27 26 28 ### Fixed 27 29
+4 -11
crates/core/src/hive/node.rs
··· 89 89 .to_string(), 90 90 ]; 91 91 92 - options.extend(["PasswordAuthentication=no".to_string()]); 93 - options.extend(["KbdInteractiveAuthentication=no".to_string()]); 92 + options.extend(["BatchMode=yes".to_string()]); 94 93 95 94 vector.push("-o".to_string()); 96 95 vector.extend(options.into_iter().intersperse("-o".to_string())); ··· 351 350 "-o".to_string(), 352 351 "StrictHostKeyChecking=accept-new".to_string(), 353 352 "-o".to_string(), 354 - "PasswordAuthentication=no".to_string(), 355 - "-o".to_string(), 356 - "KbdInteractiveAuthentication=no".to_string(), 353 + "BatchMode=yes".to_string(), 357 354 ]; 358 355 359 356 assert_eq!(target.create_ssh_args(subcommand_modifiers).unwrap(), args); ··· 372 369 "-o".to_string(), 373 370 "StrictHostKeyChecking=accept-new".to_string(), 374 371 "-o".to_string(), 375 - "PasswordAuthentication=no".to_string(), 376 - "-o".to_string(), 377 - "KbdInteractiveAuthentication=no".to_string(), 372 + "BatchMode=yes".to_string(), 378 373 ] 379 374 ); 380 375 ··· 388 383 "-o".to_string(), 389 384 "StrictHostKeyChecking=accept-new".to_string(), 390 385 "-o".to_string(), 391 - "PasswordAuthentication=no".to_string(), 392 - "-o".to_string(), 393 - "KbdInteractiveAuthentication=no".to_string(), 386 + "BatchMode=yes".to_string(), 394 387 ] 395 388 ); 396 389