← Files Unix CopilotARCHIVED FILE

references/remote-operations.md

765 Bytes · Nov 21, 2026 · 12:44 UTC

↓ Download file

See the change to this file →

# SSH and remote operations

Identify local and remote shell expansion boundaries and authenticate hosts properly. SSH host keys protect against connecting to an unexpected host; do not disable checking to fix warnings. Use appropriately scoped keys/agents and don't paste secrets into commands.

For `scp`/`rsync`, show which machine owns the source, destination and glob expansion. A trailing slash changes rsync source semantics; confirm directory contents before sync. `rsync --dry-run` is useful but not a promise that later actual sync will match if state changes. For remote deletes or ownership changes, require explicit target review.

Primary: OpenSSH manual https://www.openssh.com/manual.html ; rsync manual https://download.samba.org/pub/rsync/rsync.1

SHA-256: 81cc949920ec20f130ba8ad6b753fab668ffc1b7196c5e45716d7f6679f0cec2