fmt.Sprintf("%s:%d") produces invalid addresses for IPv6. Also adds mockable sshDial variable for testability.