v1.0 — Open Source

Clipboard
to SSH

Send screenshots from your local clipboard to any remote host. Paste images into Claude Code, OpenCode, Vim, or any terminal tool over SSH.

curl -fsSL https://raw.githubusercontent.com/samuellawrentz/clipssh/main/install.sh | bash
Terminal

Four steps, one command

clipssh flow: screenshot, extract, upload via SSH, paste path
01

Screenshot

Take a screenshot to your clipboard.
Cmd+Shift+Ctrl+4

02

Extract

clipssh grabs the PNG image from your local clipboard automatically.

03

Upload

Streams the image to your remote host over SSH. No extra services needed.

04

Paste

The remote path is copied to clipboard. Cmd+V to attach it.

Built for developers

Zero config

No daemons, no servers, no port forwarding. Just SSH and a clipboard tool.

Claude Code & OpenCode ready

Purpose-built for pasting images into AI coding tools running on remote machines.

Default host

Set CLIPSSH_HOST once and skip the argument every time. One less thing to type.

Timestamped files

Each upload gets a unique path. No collisions, no overwrites, easy cleanup.

Cross-platform

macOS with pngpaste, Linux with xclip or wl-clipboard. Both just work.

Open source

~130 lines of bash. Read the whole thing in two minutes. Fork it, ship it.

Works where you work

macOS

Requires pngpaste for clipboard access

brew install pngpaste

🐧 Linux

X11 or Wayland clipboard support

apt install xclip # or wl-clipboard

Start pasting

Install in 10 seconds. Works immediately.