def format_keep_alive_packages(keep_alive_packages):
    """Render server alive count max option."""
    format_str = '-o ServerAliveCountMax={}'.format
    return format_str(keep_alive_packages) if keep_alive_packages else ''