Step 1/1: Copy to another machine

scp SOURCE TARGET copies files over SSH, like cp; a path on another machine is HOST:PATH. scp HOST:PATH . downloads; -r copies directories, -P PORT (capital) sets the port.

$ scp notes.txt backup01:/srv/backup/
Fundamentalsscpsshnetwork
Copy a file to another machine
Use scp to copy site.tar.gz into /srv/backup/ on backup01 (a key is set up, so no password is asked).

This exercise needs real Linux

The commands it uses (processes, networking and more) are not in the simulator. Switch to real Linux and the exercise runs in a real Linux system inside your browser.