# Working Remotely

Working Remotely: Copying Between Computers: scp and rsync, Running Commands on Another Computer.

Updated: November 10, 2026

1. [Copying Between Computers: scp and rsync](https://www.ask-codey.com/lessons/bash-copying-between-computers) (Journeyman): scp copies a file or two to or from another computer, and rsync sends a whole folder but only what changed; both write the other computer's side as host:path, with a colon, and rsync -n rehearses first.
2. [Running Commands on Another Computer](https://www.ask-codey.com/lessons/bash-remote-commands) (Freelancer): ssh host 'command' runs one command on another computer and brings back its output and its exit code, the kind of quotes decides which computer fills in a $variable, and a short deploy script copies a site with rsync and checks it with ssh in one step.

Source: https://www.ask-codey.com/courses/bash-in-depth/topics/bash-working-remotely
