Labthrift Labthrift What to buy. What to skip. Why.

Written 28 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.

Give the leftover box a short name on your laptop

After SSH works, put a short name in your laptop SSH config so you type ssh leftover instead of the long address every time. You do not need a new router.

SSH from the couch taught you ssh you@that-address. That works. It is also a lot to type when you check Pi-hole or a share every day. A short name is a few lines in a file on your laptop. The leftover box does not change. This is not a new hostname on the house network. Prefer a reserved number first so the address in the file stays true: keep the leftover box on the same number.

Skip until SSH is boring

If SSH from the couch still fails, stop. Fix that first. If the address changes after every reboot, reserve it before you lock a number into this file. A key login is nicer with a short name, but not required: log in with a key, not the password every time. This note is laptop-side only.

What this file is

On your laptop, OpenSSH reads ~/.ssh/config. A Host block is a nickname. When you type that nickname, SSH fills in the real address and username for you. The leftover box never sees the nickname. It still sees a normal SSH login.

Add a Host block

On the laptop (Windows Terminal, PowerShell, Mac Terminal, or Linux), create the folder if it is missing, then open the file:

mkdir -p ~/.ssh

chmod 700 ~/.ssh

nano ~/.ssh/config

If the file already has other Host blocks, leave them. Add this at the end. Swap the username and the house number the way SSH from the couch taught you. Prefer the reserved number from keep the leftover box on the same number:

Host leftover
  HostName that-address
  User you

Save and quit (in nano: Ctrl+O, Enter, then Ctrl+X). Then lock the file down:

chmod 600 ~/.ssh/config

Optional: if your key is not the default path, add one more line under that Host block:

IdentityFile ~/.ssh/id_ed25519

That is the private key file from log in with a key, not the .pub file.

Try it

From the same laptop:

ssh leftover

You should land on the leftover-box prompt the same way as before. If it asks for a password or key passphrase, that is normal until you harden later. If it says Host key verification failed after a reinstall, that is when SSH says the leftover box looks different, not a bad config nickname.

What next

Before you turn off password login, see which laptop keys the leftover box already trusts, then put a leftover-box key on a second computer first. When both computers get in with ssh leftover, 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

Sources

OpenSSH: ssh_config. Debian: ssh_config. Official pages only. For the login, see SSH from the couch. For a number that stays put, see keep the leftover box on the same number. For the key, see log in with a key. For the trusted-key list, see see which laptop keys the leftover box already trusts. For a second computer, see put a leftover-box key on a second computer first.

Also on this topic

Log in with a key, not the password every timeAfter password SSH works for a while, put a key on your laptop so the leftover box trusts that laptop. Keep the password as a backup at first. See which laptop keys the leftover box already trustsBefore you turn off password login, look at which laptop keys can already get in. Remove leftovers from an old Marketplace box. You do not need a YubiKey for this. Put a leftover-box key on a second computer firstBefore you turn off password login, give a second laptop its own leftover-box key so you are not locked out if the first one dies. You do not need a YubiKey. Turn off leftover-box password login once the key worksAfter the laptop key login is boring, tell SSH to stop accepting the leftover-box password. The key is how you get in. A keyboard on the leftover box is the backup now. Keep the leftover box on the same numberSSH and Pi-hole keep working after a reboot when the router always gives the leftover box the same address. SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet. When SSH says the leftover box looks differentAfter you reinstall, SSH can refuse because your laptop still remembers the old leftover-box ID. Clear that memory. You do not need a new router.