diff --git a/tests/e2e/runner.go b/tests/e2e/runner.go index 29b51d2e..e1a75d26 100644 --- a/tests/e2e/runner.go +++ b/tests/e2e/runner.go @@ -153,7 +153,7 @@ func connectOrDie(sshKey, sshUser, host, port string) (*ssh.Client, error) { connectionFailed := false for i := 0; i < 20; i++ { - client, err = ssh.Dial("tcp", host+port, sshConfig) + client, err = ssh.Dial("tcp", host+":"+port, sshConfig) if err == nil { return client, nil // Connection succeeded, return the client. }