Skip to content

Commit afe1b8d

Browse files
authored
Merge pull request #276 from google/275-configurable-connecttimeout
Remove ConnectTimeout option
2 parents fb64a24 + 9b0faa7 commit afe1b8d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/dut.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use crate::util::shell_helpers::get_stderr;
4545
use crate::util::shell_helpers::get_stdout;
4646
use crate::util::shell_helpers::run_bash_command;
4747

48-
const COMMON_SSH_OPTIONS: [&str; 16] = [
48+
const COMMON_SSH_OPTIONS: [&str; 14] = [
4949
// Do not read ~/.ssh/config to avoid effects comes from ssh_config
5050
"-F",
5151
"none",
@@ -64,9 +64,6 @@ const COMMON_SSH_OPTIONS: [&str; 16] = [
6464
// Silence the "Warning: Permanently added ... to the list of known hosts" message
6565
"-o",
6666
"LogLevel=ERROR",
67-
// Set connection timeout to give up quickly
68-
"-o",
69-
"ConnectTimeout=5",
7067
// Try pubkey auth only
7168
"-o",
7269
"PreferredAuthentications=publickey",

0 commit comments

Comments
 (0)