Skip to content

Commit

Permalink
Merge pull request #6110 from digitalcoyote/master
Browse files Browse the repository at this point in the history
Fixed IPv6 format for SSH
  • Loading branch information
tstromberg authored Dec 19, 2019
2 parents 9f4548a + 119d95c commit aca4906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ func validateNetwork(h *host.Host, r command.Runner) string {
}

func trySSH(h *host.Host, ip string) {
sshAddr := fmt.Sprintf("%s:22", ip)
sshAddr := net.JoinHostPort(ip, "22")

dial := func() (err error) {
d := net.Dialer{Timeout: 3 * time.Second}
Expand Down

0 comments on commit aca4906

Please sign in to comment.