PeerHold

The error is on one screen. The answer is on another.

pastebridge is a two-lane clipboard between two machines you own on the same network. Paste or pipe terminal output on one, read it on the other, and send the command back — long enough that retyping it on a phone was never going to happen. No relay, no cloud, and nothing you paste is written to disk.

Download pastebridge Try it below Free to download and use. Nothing to sign up for.
pastebridge icon
First

Run the binary

One file, on the machine with the problem. It opens a browser at 127.0.0.1:8787, or use -headless where there is no browser at all. Output can also be piped straight in.

Then

Switch sharing on

A TLS listener starts on your local network and prints an address and a six-digit PIN. Off until you ask for it — and off means no listener exists.

After that

Open it on the other device

In the browser it already has. Enter the PIN once. Nothing to install.

Two devices, one feed

Both ends, simulated in this page. Switch sharing on in the laptop view, pair from the phone view with the PIN it shows, then paste into either lane and watch it land on the other side. Nothing you type leaves the page.

pastebridge one feed · no network calls
laptop running the binary · both lanes side by side
pastebridge connected
Only this machine can see the feed.
Log paste output here
Ctrl or Cmd + Enter

Pasted output often carries more than you intended: API tokens, connection strings, internal hostnames, paths. Whatever you send is visible to every paired device and stays in memory until the lane is cleared or the process stops.

Commands one per entry
Ctrl or Cmd + Enter

Nothing inspects, parses or validates what appears here. Text arrives exactly as it was typed at the other end, and the absence of a warning is not an assurance. Read every command before you run it.

© 2026 PeerHold About Safety notes Privacy License Imprint

Here the two panes talk through a function call; the real app uses TLS on your LAN. Pairing, clearing and Export behave like the app. The demo holds 60 entries; the app holds 500.

Quick start Download, check the hash, unpack, run. One line per platform.

Linux x86-64

curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-linux-v1_1.tar.gz && curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-linux-v1_1.tar.gz.sha256 && sha256sum -c pastebridge-linux-v1_1.tar.gz.sha256 && tar -xzf pastebridge-linux-v1_1.tar.gz && chmod +x pastebridge-linux-v1_1 && ./pastebridge-linux-v1_1

macOS Apple silicon · M1 and later

curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-mac-v1_1.tar.gz && curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-mac-v1_1.tar.gz.sha256 && shasum -a 256 -c pastebridge-mac-v1_1.tar.gz.sha256 && tar -xzf pastebridge-mac-v1_1.tar.gz && (xattr -dr com.apple.quarantine pastebridge-mac-v1_1 2>/dev/null || true) && chmod +x pastebridge-mac-v1_1 && ./pastebridge-mac-v1_1

macOS Intel

curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-mac-intel-v1_1.tar.gz && curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-mac-intel-v1_1.tar.gz.sha256 && shasum -a 256 -c pastebridge-mac-intel-v1_1.tar.gz.sha256 && tar -xzf pastebridge-mac-intel-v1_1.tar.gz && (xattr -dr com.apple.quarantine pastebridge-mac-intel-v1_1 2>/dev/null || true) && chmod +x pastebridge-mac-intel-v1_1 && ./pastebridge-mac-intel-v1_1

Windows x86-64 · PowerShell

curl.exe -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-v1_1.zip
curl.exe -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-v1_1.zip.sha256
$want = (Get-Content pastebridge-v1_1.zip.sha256 -Raw).Trim().Split(' ')[0].ToLower()
$got  = (Get-FileHash pastebridge-v1_1.zip -Algorithm SHA256).Hash.ToLower()
if ($got -eq $want) { Expand-Archive pastebridge-v1_1.zip -DestinationPath . -Force; .\pastebridge-v1_1.exe } else { Write-Error 'Checksum failed' }

Windows on ARM Snapdragon · PowerShell

curl.exe -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-arm64-snapdragon-v1_1.zip
curl.exe -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-arm64-snapdragon-v1_1.zip.sha256
$want = (Get-Content pastebridge-arm64-snapdragon-v1_1.zip.sha256 -Raw).Trim().Split(' ')[0].ToLower()
$got  = (Get-FileHash pastebridge-arm64-snapdragon-v1_1.zip -Algorithm SHA256).Hash.ToLower()
if ($got -eq $want) { Expand-Archive pastebridge-arm64-snapdragon-v1_1.zip -DestinationPath . -Force; .\pastebridge-arm64-snapdragon-v1_1.exe } else { Write-Error 'Checksum failed' }

Raspberry Pi OS 64-bit · headless, shared to your phone

curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-linux-arm64-pios-modern-v1_1.tar.gz && curl -fLO https://github.com/PeerHold/pastebridge/releases/download/v1.1/pastebridge-linux-arm64-pios-modern-v1_1.tar.gz.sha256 && sha256sum -c pastebridge-linux-arm64-pios-modern-v1_1.tar.gz.sha256 && tar -xzf pastebridge-linux-arm64-pios-modern-v1_1.tar.gz && chmod +x pastebridge-linux-arm64-pios-modern-v1_1 && ./pastebridge-linux-arm64-pios-modern-v1_1 -headless -exit-on-idle 0

Which Mac file? Apple menu → About This Mac. Any M-series chip (M1 or later) is Apple silicon; anything named Intel takes the Intel file. The Intel build also runs on Apple silicon through Rosetta, but the Apple silicon build will not start on an Intel Mac.

What the flags and the macOS step do

-headless skips the local browser and switches sharing on at startup, which is the pair you want on a machine with no screen. The others worth knowing: -pin fixes the PIN instead of a fresh one per run, -exit-on-idle quits after a stretch with nothing attached and defaults to five seconds, so pass -exit-on-idle 0 alongside -headless or it will stop before you can pair (the Raspberry Pi command above already does). -port and -share-port move the two listeners off 8787 and 8788. Piped input goes into a lane without a browser: dmesg | pastebridge for the log lane, echo "systemctl restart nginx" | pastebridge -lane cmd for the command lane. If pastebridge is already running on that machine, the text is handed to it over loopback and the pipe exits; if not, this run takes the text and serves it. On macOS, xattr clears the download quarantine flag, without which the unsigned binary is refused. It runs only after the checksum passes.

Archives and checksums are on GitHub releases. A matching hash proves the file arrived intact, not what it does; the checks below test behavior.

The loop it's for Output goes one way, the fix comes back. Repeat until it's fixed.

The commands are here. The help is over there.

You're on a phone, a console with no clipboard, or a machine whose only screen is on another desk. The command you need is long and full of quotes and braces, and the output you need to read is two hundred lines. Both of those move badly between screens.

The output goes up the log lane

psql: error: connection to server at "db01" failed:
FATAL: remaining connection slots are reserved…

Paste it, or pipe it straight in with journalctl -n 100 | pastebridge on a machine with no browser at all. It lands on the other device immediately, whitespace intact, with a copy button of its own. Long stack traces are clipped so they don't bury everything else.

You work the problem where the keyboard is

Search it, read the docs, ask a colleague, or hand it to whatever model you use. That part is yours and happens in your client: pastebridge has no model, no API key and no outbound connection, so it isn't in that conversation at all.

The command comes back and copies with one tap

$ psql -h db01 -U postgres -c "select…"  →  psql -h db01 -U postgres -c "select…"

One command per entry, each with its own copy button, because selecting text on a phone is a fight and retyping a long command is worse. A leading $ or # is stripped, so you copy the command, not the prompt. Run it, pipe the result back, and go round again.

Before you switch sharing on

  • It trusts the host machine. Anything running on it can reach loopback, where no PIN is asked — that's how the pipe works — and can read, send to and clear both lanes.
  • It trusts your network. Anyone who can reach the address can try the PIN, which locks after ten wrong guesses.
  • The certificate is self-signed, so the browser warns you once. It stops passive listening, not someone already between your two devices.
  • Look before you paste. Terminal output carries tokens, hostnames, paths and environment variables, and every paired device sees it — as does whatever you paste it into next.
  • Nothing checks the commands. No warning doesn't mean safe. Read every command before you run it.
  • Models can be confidently wrong. If a command came from a language model, treat it as a stranger's advice that happens to be well phrased.
  • Switching sharing off ends every session. Turning it back on means pairing again.

What it doesn't do

  • No account, no sign-in, no email address
  • No outbound requests, ever — no update check either
  • No relay server, no rendezvous host, no cloud
  • No database, log file, or history on disk — only what you choose to export
  • No telemetry, crash reporting, or analytics
  • No execution — it moves text, you decide what runs
  • No subscription, no paid tier, no upsell
  • Nothing you pasted is left behind when the process exits

What it keeps, and how to check Two files on disk, and neither one is your data.

What you paste lives in memory

The most recent 500 entries stay in memory, on the host and in paired browsers, until you clear the lane or stop the process. Clearing a lane clears it on every device.

The two files it does write

~/.pastebridge/cert.pem
~/.pastebridge/key.pem

The certificate and key, kept so you don't accept a new warning on every restart. Delete them and the next run makes a fresh pair.

Four checks

# 1. Nothing goes out. Expect zero outbound packets from pastebridge, including at startup.
#    Other programs will show up, and so will your paired device while sharing is on.
sudo tcpdump -i any -n 'not (host 127.0.0.1 or host ::1) and not port 22'

# 2. Only loopback is listening until you switch sharing on.
ss -ltnp | grep pastebridge

# 3. The only things on disk are the certificate and its key.
ls -la ~/.pastebridge/

# 4. One file, nothing linked in.
ldd ./pastebridge-linux-v1_1

Repeat check 2 after switching sharing on and off: off means the listener is gone, not idle. On macOS, use otool -L instead of ldd.

The license Free to use. Not open source.

  • You may install and use it on any number of devices you own or control, for personal or internal business use, free of charge
  • You may pass the binary on, provided it is unmodified, complete with its notices, and free of charge
  • You may not modify it, make derivative works, or reverse engineer it — except where your local law says otherwise and doesn't allow that to be contracted away
  • Nothing you paste belongs to us, and nothing of yours is left on disk for us or anyone else to find

The full text, privacy notes and imprint are inside the app, offline, each with a version and date.

Questions

Why not just SSH in and copy the text?
If you have a terminal in front of you and SSH set up, do that. This is for when the copying itself is the problem: a console with no clipboard passthrough, or a phone where selecting two hundred lines of output and retyping a long command is the slow part. pastebridge gives you a copy button per entry on both ends, and a pipe on the machine that has no browser.
Does it work over the internet?
No. Both devices need to be on the same network, or joined by a VPN or tailnet. There's no relay, so nothing passes through anyone else's machine.
Can more than one device connect?
Yes. Anything that reaches the address and knows the PIN can join, with full read and write access to both lanes. There are no per-device permissions.
Why not just use a chat app?
A chat app keeps your error output on someone else's server, in a history you'd have to clean. This keeps it on your two machines and forgets it when the process stops. It's also faster: a copy button per command.
Why isn't it open source?
It's free to use and to pass on unmodified, and it won't grow a subscription. What you don't get is the source, so the claims here are worth what you can test from outside, which is most of them. The four checks above are the ones we'd run in your position.

Follow releases RSS. No signup.

New versions and checksum changes go out here. If you verify hashes before running a binary, this is how you hear there's a new one.

feed.xml
Open the feed

A plain file with no tracking attached. Whoever serves the copy you are reading may keep ordinary access logs.

Support the work

Everything here is free, and staying that way. If something saved you an afternoon, send some BTC.

Found a bug? Open an issue on GitHub, or find me on Bluesky at @peerhold.