Skip to content
Clairos Learn

Security administration · Lesson 17 of 35 · 8 minutes

SCP dry run

Understand copy shape without network transfer.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated Linux lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Junior operators build confidence by gathering evidence before changing systems.

scp
Practice a fixed simulated copy workflow without network transfer.

Direction, destination, and host identity matter before copying real files.

cat
Read one or more files to standard output without editing their contents.

Reading a source file should precede changing it; avoid printing real secrets.

Worked example and expected result
$ scp README.txt lab:/tmp/README.txt
dry-run only: would copy README.txt to lab:/tmp/README.txt; no network connection was made.

Exit status: 0. The command completed successfully in the training fixture.

$ scp --help
usage: scp [-v] source target
This simulator only previews copy plans.

Exit status: 0. The command completed successfully in the training fixture.

$ cat README.txt
Welcome to Clairos Learn. This is a simulated filesystem for practicing terminal and server basics. Nothing here is connected to your real computer.

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Repeat this workflow in the sandbox with a different scratch filename. Keep the system fixtures unchanged and compare the observed output with your expectation before moving on.

Explain it

In “SCP dry run”, which interpretation is safe?

Apply it elsewhere

Before adapting the scp workflow from “SCP dry run” to another server, what should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Package security reviewTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01SSH key fingerprintRead a simulated key fingerprint.Practice
  2. 02Package security reviewInspect package metadata during a security review.Practice
  3. 03Auth config checkpointReview SSH, identity, firewall, and notes.Practice