summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2022-04-21 19:05:27 -0700
committerJames Tucker <jftucker@gmail.com>2022-04-21 19:17:34 -0700
commitc2eff20008ba4bab36078aa17ec9cc23dda59fb8 (patch)
treeb0b7b198fc332c9ef026dbd2b7c03957889ff27f
parent700bd377300d49f8d248efc9eba04ea730c9d571 (diff)
downloadtailscale-c2eff20008ba4bab36078aa17ec9cc23dda59fb8.tar.xz
tailscale-c2eff20008ba4bab36078aa17ec9cc23dda59fb8.zip
ssh/tailssh: avoid user ssh configuration in tests
Signed-off-by: James Tucker <james@tailscale.com>
-rw-r--r--ssh/tailssh/tailssh_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh/tailssh/tailssh_test.go b/ssh/tailssh/tailssh_test.go
index f6feb8b18..93ed67f4e 100644
--- a/ssh/tailssh/tailssh_test.go
+++ b/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",