{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
        "slug": "dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration",
        "url": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/"
        },
        "title": "Distinguish an SSH default reset from restoration of the previous configuration",
        "summary": "Will Azure VMAccess reset-ssh restore the SSH configuration that existed before recovery?",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "cyber-defense",
            "label": "Cyber defense",
            "alt": "Layered glass and metal cyber-defense structure with controlled blue and gold signal paths.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "cybersecurity",
                "name": "Cybersecurity",
                "url": "https://update.dsesecurity.com/topic/cybersecurity/"
            },
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-09-10T00:24:17+00:00",
        "modified_at": "2026-09-10T02:08:04+00:00",
        "reviewed_on": "2026-09-09",
        "reading_minutes": 2,
        "word_count": 230,
        "potentially_affected": "Operators using VMAccess to recover a supported Azure Linux VM.",
        "dse_recommendation": "Choose default reset or backup restoration according to the intended SSH configuration outcome.",
        "primary_source": {
            "name": "Reset access to an Azure Linux VM - Azure Virtual Machines | Microsoft Learn",
            "url": "https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux",
            "published_on": null,
            "authority": "Microsoft Learn"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<h2>Source facts</h2>\n<p>The Azure CLI reset-ssh operation replaces sshd_config with a default configuration from the extension&#8217;s internal resources; it does not restore the VM&#8217;s original file. VMAccess also backs up and changes SSH configuration during user updates, setting challenge-response authentication off and password authentication on. Its restore_backup_ssh option restores the backed-up configuration. VMAccess user operations grant sudo privileges to the specified account. <a href=\"https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn</a>.</p>\n<h2>Applicability</h2>\n<p>Use this distinction during authorized access recovery, especially where the VM had deliberately customized SSH settings. Treat account recovery and restoration of the approved SSH policy as separate completion items.</p>\n<h2>DSE recommendation</h2>\n<p>Choose default reset or backup restoration according to the intended SSH configuration outcome. Have the recovery owner record whether the intended result is a distro default or the prior backed-up configuration. Preserve a safe administrative access path while comparing the recovered settings with the approved policy. Avoid using this recovery extension as a routine way to manage an unprivileged account.</p>\n<h2>Verification</h2>\n<p>Rehearse the chosen operation on a representative nonproduction VM and inspect the resulting SSH configuration. Test the intended authentication path and review the recovered account&#8217;s privileges. Before closing the incident, reconcile any temporary authentication changes with the approved configuration and document the outcome without passwords or private keys. A successful login alone should not replace the configuration comparison.</p>\n<h2>Official references</h2>\n<p><a href=\"https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: VMAccess Extension for Linux</a>. Source reviewed September 9, 2026.</p>",
        "content_text": "Source facts\nThe Azure CLI reset-ssh operation replaces sshd_config with a default configuration from the extension’s internal resources; it does not restore the VM’s original file. VMAccess also backs up and changes SSH configuration during user updates, setting challenge-response authentication off and password authentication on. Its restore_backup_ssh option restores the backed-up configuration. VMAccess user operations grant sudo privileges to the specified account. Microsoft Learn.\nApplicability\nUse this distinction during authorized access recovery, especially where the VM had deliberately customized SSH settings. Treat account recovery and restoration of the approved SSH policy as separate completion items.\nDSE recommendation\nChoose default reset or backup restoration according to the intended SSH configuration outcome. Have the recovery owner record whether the intended result is a distro default or the prior backed-up configuration. Preserve a safe administrative access path while comparing the recovered settings with the approved policy. Avoid using this recovery extension as a routine way to manage an unprivileged account.\nVerification\nRehearse the chosen operation on a representative nonproduction VM and inspect the resulting SSH configuration. Test the intended authentication path and review the recovered account’s privileges. Before closing the incident, reconcile any temporary authentication changes with the approved configuration and document the outcome without passwords or private keys. A successful login alone should not replace the configuration comparison.\nOfficial references\nMicrosoft Learn: VMAccess Extension for Linux. Source reviewed September 9, 2026.",
        "content_markdown": "## Source facts\n\nThe Azure CLI reset-ssh operation replaces sshd_config with a default configuration from the extension’s internal resources; it does not restore the VM’s original file. VMAccess also backs up and changes SSH configuration during user updates, setting challenge-response authentication off and password authentication on. Its restore_backup_ssh option restores the backed-up configuration. VMAccess user operations grant sudo privileges to the specified account. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux).\n\n## Applicability\n\nUse this distinction during authorized access recovery, especially where the VM had deliberately customized SSH settings. Treat account recovery and restoration of the approved SSH policy as separate completion items.\n\n## DSE recommendation\n\nChoose default reset or backup restoration according to the intended SSH configuration outcome. Have the recovery owner record whether the intended result is a distro default or the prior backed-up configuration. Preserve a safe administrative access path while comparing the recovered settings with the approved policy. Avoid using this recovery extension as a routine way to manage an unprivileged account.\n\n## Verification\n\nRehearse the chosen operation on a representative nonproduction VM and inspect the resulting SSH configuration. Test the intended authentication path and review the recovered account’s privileges. Before closing the incident, reconcile any temporary authentication changes with the approved configuration and document the outcome without passwords or private keys. A successful login alone should not replace the configuration comparison.\n\n## Official references\n\n[Microsoft Learn: VMAccess Extension for Linux](https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux). Source reviewed September 9, 2026."
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
                "url": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-09-09"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Distinguish an SSH default reset from restoration of the previous configuration",
                        "item": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/#article",
                "identifier": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
                "url": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/",
                "headline": "Distinguish an SSH default reset from restoration of the previous configuration",
                "description": "Will Azure VMAccess reset-ssh restore the SSH configuration that existed before recovery?",
                "abstract": "Will Azure VMAccess reset-ssh restore the SSH configuration that existed before recovery?",
                "articleBody": "Source facts\nThe Azure CLI reset-ssh operation replaces sshd_config with a default configuration from the extension’s internal resources; it does not restore the VM’s original file. VMAccess also backs up and changes SSH configuration during user updates, setting challenge-response authentication off and password authentication on. Its restore_backup_ssh option restores the backed-up configuration. VMAccess user operations grant sudo privileges to the specified account. Microsoft Learn.\nApplicability\nUse this distinction during authorized access recovery, especially where the VM had deliberately customized SSH settings. Treat account recovery and restoration of the approved SSH policy as separate completion items.\nDSE recommendation\nChoose default reset or backup restoration according to the intended SSH configuration outcome. Have the recovery owner record whether the intended result is a distro default or the prior backed-up configuration. Preserve a safe administrative access path while comparing the recovered settings with the approved policy. Avoid using this recovery extension as a routine way to manage an unprivileged account.\nVerification\nRehearse the chosen operation on a representative nonproduction VM and inspect the resulting SSH configuration. Test the intended authentication path and review the recovered account’s privileges. Before closing the incident, reconcile any temporary authentication changes with the approved configuration and document the outcome without passwords or private keys. A successful login alone should not replace the configuration comparison.\nOfficial references\nMicrosoft Learn: VMAccess Extension for Linux. Source reviewed September 9, 2026.",
                "datePublished": "2026-09-10T00:24:17+00:00",
                "dateModified": "2026-09-10T02:08:04+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/dse-20260909-459-distinguish-an-ssh-default-reset-from-restoration-of-the-previous-configuration/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/cyber-defense-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/cyber-defense-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Distinguish an SSH default reset from restoration of the previous configuration"
                },
                "articleSection": [
                    "Cybersecurity",
                    "IT"
                ],
                "keywords": [
                    "Cybersecurity",
                    "IT",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "Cybersecurity",
                        "url": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 230,
                "timeRequired": "PT2M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Reset access to an Azure Linux VM - Azure Virtual Machines | Microsoft Learn",
                    "url": "https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux"
                }
            }
        ]
    }
}