def _parse_ssh_public_keys(file_content):
    """Parses ssh-keys, so that the returned output has the right format."""
    file_content = file_content.replace("\r\n", "")
    ssh_keys = file_content.replace("ssh-rsa", "\nssh-rsa").strip()
    return ssh_keys.splitlines()