{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
        "slug": "dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp",
        "url": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/"
        },
        "title": "Specify the transfer direction before copying Azure VM files with SCP",
        "summary": "DSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "managed-it",
            "label": "Managed IT operations",
            "alt": "A controlled technology lifecycle progressing from assessment to approved production.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/managed-it-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/managed-it-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "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-17T16:34:42+00:00",
        "modified_at": "2026-09-17T16:35:03+00:00",
        "reviewed_on": "2026-09-17",
        "reading_minutes": 1,
        "word_count": 206,
        "potentially_affected": "This guide is for an operator preparing a workstation-to-VM file transfer or collecting a directory of VM logs using SCP.",
        "dse_recommendation": "DSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command.",
        "primary_source": {
            "name": "Use SCP to move files to and from a VM - Azure Virtual Machines | Microsoft Learn",
            "url": "https://learn.microsoft.com/en-us/azure/virtual-machines/copy-files-to-vm-using-scp",
            "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>Microsoft documents SCP transfers in both directions between a workstation and an Azure VM, with SSH enabled on the VM and an SCP client on the workstation. SCP relies on SSH for authentication and encrypted transport; the documented directory-download example uses the recursive option. <a href=\"https://learn.microsoft.com/en-us/azure/virtual-machines/copy-files-to-vm-using-scp\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn</a></p>\n<h2>Applicability</h2>\n<p>This guide is for an operator preparing a workstation-to-VM file transfer or collecting a directory of VM logs using SCP.</p>\n<h2>DSE recommendation</h2>\n<p>DSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command. Identify the remote user and host separately from the remote directory. For a log collection, agree which directory is in scope and where the local copy belongs. Use a nonsensitive test file first, and arrange an appropriate destination for any confidential material before moving the real files.</p>\n<h2>Verification</h2>\n<p>Compare the resulting file names and directory structure with the approved request. Confirm that the copy appeared on the intended side of the connection and that the expected files can be read. Record incomplete or unexpected transfers for investigation, and remove temporary test material only after the destination has been checked.</p>\n<h2>Official references</h2>\n<ul>\n<li><a href=\"https://learn.microsoft.com/en-us/azure/virtual-machines/copy-files-to-vm-using-scp\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft: Use SCP to move files to and from a VM &#8211; Azure Virtual Machines | Microsoft Learn</a></li>\n</ul>",
        "content_text": "Source facts\nMicrosoft documents SCP transfers in both directions between a workstation and an Azure VM, with SSH enabled on the VM and an SCP client on the workstation. SCP relies on SSH for authentication and encrypted transport; the documented directory-download example uses the recursive option. Microsoft Learn\nApplicability\nThis guide is for an operator preparing a workstation-to-VM file transfer or collecting a directory of VM logs using SCP.\nDSE recommendation\nDSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command. Identify the remote user and host separately from the remote directory. For a log collection, agree which directory is in scope and where the local copy belongs. Use a nonsensitive test file first, and arrange an appropriate destination for any confidential material before moving the real files.\nVerification\nCompare the resulting file names and directory structure with the approved request. Confirm that the copy appeared on the intended side of the connection and that the expected files can be read. Record incomplete or unexpected transfers for investigation, and remove temporary test material only after the destination has been checked.\nOfficial references\n\nMicrosoft: Use SCP to move files to and from a VM – Azure Virtual Machines | Microsoft Learn",
        "content_markdown": "## Source facts\n\nMicrosoft documents SCP transfers in both directions between a workstation and an Azure VM, with SSH enabled on the VM and an SCP client on the workstation. SCP relies on SSH for authentication and encrypted transport; the documented directory-download example uses the recursive option. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/copy-files-to-vm-using-scp)\n\n## Applicability\n\nThis guide is for an operator preparing a workstation-to-VM file transfer or collecting a directory of VM logs using SCP.\n\n## DSE recommendation\n\nDSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command. Identify the remote user and host separately from the remote directory. For a log collection, agree which directory is in scope and where the local copy belongs. Use a nonsensitive test file first, and arrange an appropriate destination for any confidential material before moving the real files.\n\n## Verification\n\nCompare the resulting file names and directory structure with the approved request. Confirm that the copy appeared on the intended side of the connection and that the expected files can be read. Record incomplete or unexpected transfers for investigation, and remove temporary test material only after the destination has been checked.\n\n## Official references\n\n- [Microsoft: Use SCP to move files to and from a VM – Azure Virtual Machines | Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/copy-files-to-vm-using-scp)"
    },
    "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-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
                "url": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-09-17"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Specify the transfer direction before copying Azure VM files with SCP",
                        "item": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/#article",
                "identifier": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
                "url": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/",
                "headline": "Specify the transfer direction before copying Azure VM files with SCP",
                "description": "DSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command.",
                "abstract": "DSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command.",
                "articleBody": "Source facts\nMicrosoft documents SCP transfers in both directions between a workstation and an Azure VM, with SSH enabled on the VM and an SCP client on the workstation. SCP relies on SSH for authentication and encrypted transport; the documented directory-download example uses the recursive option. Microsoft Learn\nApplicability\nThis guide is for an operator preparing a workstation-to-VM file transfer or collecting a directory of VM logs using SCP.\nDSE recommendation\nDSE recommends writing the source, destination, and intended direction into the transfer request before constructing the command. Identify the remote user and host separately from the remote directory. For a log collection, agree which directory is in scope and where the local copy belongs. Use a nonsensitive test file first, and arrange an appropriate destination for any confidential material before moving the real files.\nVerification\nCompare the resulting file names and directory structure with the approved request. Confirm that the copy appeared on the intended side of the connection and that the expected files can be read. Record incomplete or unexpected transfers for investigation, and remove temporary test material only after the destination has been checked.\nOfficial references\n\nMicrosoft: Use SCP to move files to and from a VM – Azure Virtual Machines | Microsoft Learn",
                "datePublished": "2026-09-17T16:34:42+00:00",
                "dateModified": "2026-09-17T16:35:03+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/dse-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/"
                },
                "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-20260917-018-specify-the-transfer-direction-before-copying-azure-vm-files-with-scp/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Specify the transfer direction before copying Azure VM files with SCP"
                },
                "articleSection": [
                    "IT"
                ],
                "keywords": [
                    "IT",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 206,
                "timeRequired": "PT1M",
                "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": "Use SCP to move files to and from a VM - Azure Virtual Machines | Microsoft Learn",
                    "url": "https://learn.microsoft.com/en-us/azure/virtual-machines/copy-files-to-vm-using-scp"
                }
            }
        ]
    }
}