ssh/tailssh: avoid user ssh configuration in tests

Signed-off-by: James Tucker <james@tailscale.com>
pull/4498/head
James Tucker 3 years ago committed by James Tucker
parent 700bd37730
commit c2eff20008

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

Loading…
Cancel
Save