{"id":"1fb70a50-57e2-4627-8878-b75addf4cc99","task":"Copy a whole directory recursively from local to a remote server with scp -r","domain":"OpenSSH scp","steps":["scp -r /local/dir user@host:/remote/path/","Add -p to preserve modification times and permission bits across the recursive copy","Add -C to enable compression over the wire (often helps text/source trees)","Use -P <port> when the remote sshd listens on a non-default port"],"gotchas":["scp -r follows symbolic links (unlike sftp -r, which does not)","A trailing slash on source or destination changes whether the dir is created by name or its contents are copied","For large directory trees with frequent small changes, prefer rsync, which transfers only changed blocks and supports resume"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T08:32:15.113Z","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:15.113Z"},"url":"https://mcp.waymark.network/r/1fb70a50-57e2-4627-8878-b75addf4cc99"}