Written 30 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Download a file onto the leftover box
After SSH works, pull one file from a web address with curl so the leftover box has the file without a USB stick. You do not need a browser on the leftover box for this.
Wrap leftover-box long lines kept long leftover-box lines readable in the leftover-box window. Tonight you only need one more trick: pull one file from a web address onto the leftover box. curl does that. You pick a save path in home and a URL. The leftover box fetches the file. You are still only practicing. The leftover box does not need a desktop browser, a USB stick, or a new mini PC for this one job.
Skip until SSH already works
SSH from the couch should already get you a leftover-box prompt. If the leftover box cannot reach past the house router yet, finish check that the leftover box can reach the internet first. If you only need a file from your laptop, that is copy a file to the leftover box from your laptop. If you only need leftover-box long lines wrapped, that is wrap leftover-box long lines. If you only need leftover-box line numbers, that is number leftover-box lines. 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
curl means "pull bytes from a web address." You type curl, a save flag, a path in leftover-box home, then a URL that starts with https://. -o means "save as this name." -O is optional "keep the name from the URL." -L is optional "follow a redirect." -I is optional headers only, no file body. The leftover box writes the file in home. It does not open a browser. It is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a ping past the router. That is check that the leftover box can reach the internet. It is not wrapping leftover-box long lines. That is wrap leftover-box long lines. It is not piping a download into a shell. Skip that on night one.
Download one practice file into leftover-box home
SSH in. Make sure leftover-box home is where you are sitting:
pwd
You want a path that ends in your login name. Now pull one small practice page:
curl -o ~/example.html https://example.com
-o ~/example.html is the save path. https://example.com is a boring public page used for practice. You want a short progress line, then a quiet prompt again. Peek:
ls -lh ~/example.html
You want a small file size, not zero bytes. Short dump:
head -n 5 ~/example.html
You want HTML words about Example Domain. That is the whole first-night trick: one file from a URL, saved in home, no USB stick.
Need the filename from the URL instead of picking one?
curl -O https://example.com/index.html
-O keeps index.html as the name in the folder you are sitting in. Prefer -o ~/name on night one so you choose the path.
Need to follow a redirect when a site moves the file?
curl -L -o ~/example.html https://example.com
-L is optional. Plain curl -o is enough when the URL already lands on the file.
Useful extras, still looking only
Need headers only, no body saved?
curl -I https://example.com
You want lines like HTTP status and content type. That check does not rewrite home.
Skip curl … | bash on night one. A download into a shell is how people run installers they have not read. Tonight you only save a file you can open with head or less.
Skip wget as tonight's lesson. Some leftover boxes have it. Tonight's tool is curl.
Skip -k (skip certificate checks) and huge OS images on night one. Practice one small page first.
If the leftover box says command not found for curl, install it, then try again:
sudo apt install curl
Debian and Ubuntu Server usually already have it. That install is not a reason to buy a browser for the leftover box.
When you are done looking, throw away the leftover-box practice file:
rm ~/example.html
Careful delete only. That is delete a leftover-box file carefully. If you also made index.html with -O, delete that one the same way.
What this is not
This is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a ping past the house router. That is check that the leftover box can reach the internet. It is not wrapping leftover-box long lines. That is wrap leftover-box long lines. It is not leftover-box line numbers. That is number leftover-box lines. It is not a short dump of a leftover-box file you already have. That is read a leftover-box file without opening the editor. It is not one screen at a time. That is read a leftover-box file one screen at a time. It is not leftover-box first lines. That is see the start of a leftover-box file. It is not a quiet save of leftover-box command print. That is save leftover-box output to a file. It is not a house share other computers browse. That is a folder the house can open. It is not opening SSH to the internet so you can download from a coffee shop. That is keep the leftover box on the house network.
What next
Need to check the leftover-box file fingerprint after the download? Check a leftover-box file fingerprint. Need leftover-box long lines wrapped first? Wrap leftover-box long lines. Need leftover-box line numbers first? Number leftover-box lines. Need a file from your laptop instead? Copy a file to the leftover box from your laptop. Need to prove the leftover box can reach past the router first? Check that the leftover box can reach the internet. Need a short dump of the file you just pulled? Read a leftover-box file without opening the editor. Need one screen at a time? Read a leftover-box file one screen at a time. Need leftover-box first lines? See the start of a leftover-box file. Need how long? See how long a leftover-box file is. Need the throwaway gone for real? Delete a leftover-box file carefully. When a house job broke, look at the leftover box's own diary: when something broke, look at the leftover-box log. 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 if leftover-box internet checks still fail. Finish check that the leftover box can reach the internet first.
- Skip
curl … | bash, random installer URLs, and files you have not peeked at. Practice save with-o, then peek withheadorless. - Skip
-k, huge OS images, FTP on night one, and uploads with-T. One small download is enough. - Skip saving into
/etc, SSH folders, or paths you do not own. Practice only in home. - Skip opening SSH to the internet so you can download files from a coffee shop. That is keep the leftover box on the house network. Do not forward port 22.
Sources
curl: man page. Debian: curl. Ubuntu: curl. Official pages only. For the login, see SSH from the couch. For leftover-box internet reachability, see check that the leftover box can reach the internet. For a file from your laptop, see copy a file to the leftover box from your laptop. For wrap, see wrap leftover-box long lines. For leftover-box line numbers, see number leftover-box lines.