#!/bin/sh set -e file="${1:-/dev/stdin}" cat "$file" | ssh -T paste@kentoj.de -- $@