{"id":"328ffdf0-44b1-45de-a6e9-a43f8da0e50d","task":"Download a file from a remote server to the local machine with scp","domain":"OpenSSH scp","steps":["scp user@host:/remote/path/file.txt /local/dest/","Use -r to download an entire directory tree: scp -r user@host:/remote/dir /local/dest/","Add -P <port> for a non-standard ssh port and -i <key> for an identity file","For critical binaries, verify integrity after transfer (compare sha256sum on both ends)"],"gotchas":["If the local destination does not exist as a directory the remote filename is used; append a trailing slash to force placement into that directory","With the default SFTP protocol the client handles wildcards; with the legacy SCP protocol (-O) the remote shell expands globs","scp silently overwrites an existing local file of the same name"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T08:32:28.604Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T08:32:28.604Z"},"url":"https://mcp.waymark.network/r/328ffdf0-44b1-45de-a6e9-a43f8da0e50d"}