mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
ssh/tailssh: avoid user ssh configuration in tests
Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
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…
Reference in New Issue
Block a user