Browse Source

ssh/tailssh: avoid user ssh configuration in tests

Signed-off-by: James Tucker <[email protected]>
James Tucker 3 years ago
parent
commit
c2eff20008
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ssh/tailssh/tailssh_test.go

+ 2 - 0
ssh/tailssh/tailssh_test.go

@@ -265,6 +265,8 @@ func TestSSH(t *testing.T) {
 
 	execSSH := func(args ...string) *exec.Cmd {
 		cmd := exec.Command("ssh",
+			"-F",
+			"none",
 			"-v",
 			"-p", fmt.Sprint(port),
 			"-o", "StrictHostKeyChecking=no",