Written 29 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Copy a leftover-box file without leaving the box
After SSH works, copy a leftover-box file with cp so you can edit a spare without wrecking the original. You do not need a NAS for this.
Copy a file to the leftover box from your laptop is the laptop-to-box path. Tonight you are already on the leftover box. cp is copy. It makes a second leftover-box file from one that is already there. Useful before edit a leftover-box file from the couch, so a bad save does not eat the only copy. The leftover box does not need a desktop, a NAS, or a cloud drive for this one job.
Skip until SSH already works
SSH from the couch should already get you a leftover-box prompt. If the file is still on the laptop, that is copy a file to the leftover box from your laptop. If you need a folder for the spare to land in, that is make a leftover-box folder. Skip this whole note if you only need a house share other computers browse. That is a folder the house can open.
What this is
cp copies a leftover-box file to another leftover-box name or folder. You run it on the leftover box, after SSH. It does not talk to the laptop. That is scp. It does not share the copy with phones. That is Samba. It does not measure free disk. That is see if the leftover box still has room. Two names, same leftover box.
Make a spare with a new name
SSH in. If you do not already have a throwaway file, make one in home:
echo 'hello leftover' > ~/hello.txt
Then copy it to a second name:
cp ~/hello.txt ~/hello-copy.txt
The first path is the file you already have. The second path is the spare. Swap the names for yours. A short name with no spaces is easier to type later.
See that both are there
List home:
ls ~
You want hello.txt and hello-copy.txt. Optional look at size and date:
ls -lh ~/hello.txt ~/hello-copy.txt
The sizes should match. Optional peek at the spare without opening the editor:
cat ~/hello-copy.txt
You want the same line you wrote. Now you can edit the spare: edit a leftover-box file from the couch. The original stays put.
Copy into a folder
Need a leftover-box folder first? Make a leftover-box folder. Then keep the same filename and drop the copy inside:
cp ~/hello.txt ~/notes/
The trailing slash on notes/ is a reminder that the last thing is a folder. List it:
ls ~/notes
You want hello.txt in that folder. A full second path also works if you want a different name in there:
cp ~/hello.txt ~/notes/hello-keep.txt
Optional: ask before overwriting
If the spare name already exists, a plain cp replaces it with no useful undo. Ask first:
cp -i ~/hello.txt ~/hello-copy.txt
The leftover box will wait for a yes if that second name is already taken. Type n if you did not mean to replace it. Skip cp -r tonight unless you are copying one small folder you made. Skip copying anything under / or /etc. Home is the practice place.
What this is not
This copy lives on the leftover box. It is not a file from the laptop. That is copy a file to the leftover box from your laptop. It is not a house share other computers browse. That is a folder the house can open. It is not a checked backup. That is a backup of the leftover-box folder. Free disk left is still see if the leftover box still has room.
What next
Need to change the spare? Edit a leftover-box file from the couch. Need the spare under a better name? Rename or move a leftover-box file. Need a folder for copies to land in? Make a leftover-box folder. Need the names again? See what's in a leftover-box folder. Need a file from the laptop instead? Copy a file to the leftover box from your laptop. Tired of retyping the same long line? Reuse a leftover-box command you already typed. When key login is boring on every computer you use, turn off leftover-box password login once the key works. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.
Skip
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip
scpfor a file that is already on the leftover box. That tool is the laptop path. - Skip buying a NAS, a “cloud drive,” or a file manager app to duplicate one leftover-box file.
- Skip
cp -r /, anything under/etc, or leftover-box SSH settings tonight. - Skip opening SSH to the internet so you can copy files from a coffee shop. That is keep the leftover box on the house network.
Sources
GNU coreutils: cp invocation. Debian: cp. Ubuntu: cp. Official pages only. For the login, see SSH from the couch. For the laptop path, see copy a file to the leftover box from your laptop. For making a folder, see make a leftover-box folder. For listing names, see see what's in a leftover-box folder. For editing a spare, see edit a leftover-box file from the couch.