{
    "url": "https://delaparra-services.nl/knowledge-hub/scp",
    "locale": "en",
    "title": "scp: Knowledge hub | DeLaParra Services",
    "description": "Secure Copy Protocol — Copy files between local machine and a remote server over SSH.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/scp",
        "nl": "https://delaparra-services.nl/nl/kennisbank/scp"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/scp.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/scp.md",
        "json": "https://delaparra-services.nl/knowledge-hub/scp.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/scp.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/scp.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/scp.csv",
            "encodingFormat": "text/csv",
            "name": "scp.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/scp.json",
            "encodingFormat": "application/json",
            "name": "scp.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/scp.md",
            "encodingFormat": "text/markdown",
            "name": "scp.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/scp.pdf",
            "encodingFormat": "application/pdf",
            "name": "scp.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/scp.zip",
            "encodingFormat": "application/zip",
            "name": "scp.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/scp/skills.zip",
            "encodingFormat": "application/zip",
            "name": "scp-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [scp](<https://delaparra-services.nl/knowledge-hub/scp>)\n\n  \n\nCategory: CLI commands \n\n# scp\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is scp?\n\n \n\nscp: Secure Copy Protocol — Copy files between local machine and a remote server over SSH. ` scp ` copies files between computers over SSH. ` scp backup.sql user@server:/tmp/ ` uploads a file, and ` scp user@server:/var/log/app.log . ` downloads one. Add ` -r ` for folders. It uses the same keys and login as ` ssh `, so if you can log in, you can copy.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about scp\n\n  \n\n### What should you keep in mind with scp?\n\n \n\nFor anything beyond the occasional file, ` rsync ` over SSH is usually better. It only sends what changed, can resume interrupted transfers and shows progress. Recent OpenSSH versions also run ` scp ` on top of the SFTP protocol, which fixed some long-standing quirks. Be careful with what you copy around: database dumps and log files often contain personal data, and copies on laptops and in temporary folders are easily forgotten.\n\n \n\n## At a glance\n\n   CategoryCLI commands Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More CLI commands terms\n\n \n\n- [ps](<https://delaparra-services.nl/knowledge-hub/ps>) \n- [pwd](<https://delaparra-services.nl/knowledge-hub/pwd>) \n- [rm](<https://delaparra-services.nl/knowledge-hub/rm>) \n- [source](<https://delaparra-services.nl/knowledge-hub/source>) \n- [ssh](<https://delaparra-services.nl/knowledge-hub/ssh>) \n- [sudo](<https://delaparra-services.nl/knowledge-hub/sudo>)\n\n \n\n[All terms starting with S](<https://delaparra-services.nl/knowledge-hub#letter-s>)\n\n \n\n## Skills\n\n \n\n- ### CLI flag safety\n\n \n\nUse before running or suggesting shell commands with flags, especially destructive or broad ones (-f/--force, -r/-R recursive, -a/--all, -y/--yes, prune, --hard), and when a user asks what a flag means (-v, -q, -n/--dry-run, -h, -o, -p, -t, -u, -w, -x, -c, -i). Explains flags per tool and prefers dry runs and narrow scopes.\n\n [View skill](<https://delaparra-services.nl/skills/cli-flag-safety>) [Download zip](<https://delaparra-services.nl/skills/cli-flag-safety/download>) \n- ### Debian Linux Triage\n\n \n\n'Triage and resolve Debian Linux issues with apt, systemd, and AppArmor-aware guidance.'\n\n [View skill](<https://delaparra-services.nl/skills/debian-linux-triage>) [Download zip](<https://delaparra-services.nl/skills/debian-linux-triage/download>) \n- ### HTTP status debugging\n\n \n\nUse when an HTTP request returns an unexpected status code (4xx or 5xx, or a redirect loop), when a user pastes an error like \"419 Page Expired\", \"422 Unprocessable Content\", \"502 Bad Gateway\" or \"CORS error\", or when debugging API calls between a frontend and a Laravel/PHP or Node backend. Finds the cause from the status code, headers and logs before changing code.\n\n [View skill](<https://delaparra-services.nl/skills/http-status-debugging>) [Download zip](<https://delaparra-services.nl/skills/http-status-debugging/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/scp/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [The terminal commands you actually need](<https://delaparra-services.nl/manuals/terminalcommandos-die-je-nodig-hebt>) \n- [Deploying a Laravel app](<https://delaparra-services.nl/manuals/je-laravel-app-online-zetten>)\n\n \n\n## Related services\n\n \n\n- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)\n\nIf you want to use a coding agent, we provide all the infrastructure to help it work efficiently.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/scp)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/scp#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/scp",
                "name": "scp: Knowledge hub | DeLaParra Services",
                "description": "Secure Copy Protocol — Copy files between local machine and a remote server over SSH.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/scp#term",
                    "name": "scp",
                    "description": "Secure Copy Protocol — Copy files between local machine and a remote server over SSH.",
                    "termCode": "scp",
                    "url": "https://delaparra-services.nl/knowledge-hub/scp",
                    "inLanguage": "en",
                    "keywords": "CLI commands",
                    "dateModified": "2026-11-25T17:46:29+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/scp#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/scp#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/scp#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is scp?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Secure Copy Protocol — Copy files between local machine and a remote server over SSH. scp copies files between computers over SSH. scp backup.sql user@server:/tmp/ uploads a file, and scp user@server:/var/log/app.log . downloads one. Add -r for folders. It uses the same keys and login as ssh, so if you can log in, you can copy."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with scp?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "For anything beyond the occasional file, rsync over SSH is usually better. It only sends what changed, can resume interrupted transfers and shows progress. Recent OpenSSH versions also run scp on top of the SFTP protocol, which fixed some long-standing quirks. Be careful with what you copy around: database dumps and log files often contain personal data, and copies on laptops and in temporary folders are easily forgotten."
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/cli-flag-safety#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/debian-linux-triage#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/http-status-debugging#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/terminalcommandos-die-je-nodig-hebt#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/je-laravel-app-online-zetten#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/scp#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "scp"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/scp#dataset",
                "name": "scp",
                "description": "Secure Copy Protocol — Copy files between local machine and a remote server over SSH.",
                "url": "https://delaparra-services.nl/knowledge-hub/scp",
                "identifier": "https://delaparra-services.nl/knowledge-hub/scp#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/scp#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "CLI commands",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:29+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "scp.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/scp.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "scp.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/scp.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "scp.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/scp.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "scp.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/scp.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "scp.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/scp.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "scp-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/scp/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}