current commit
200426.5 · initial commit of ~/bin
#!/bin/sh

set -e

if [ $# = 0 ]; then
    echo "Usage: $(basename $0) <host> ..." >&2
    exit 1
fi
for host; do
    echo "=== $host === "
    scp -o StrictHostKeyChecking=no "$HOME/.ssh/external" "$host:.ssh/id_rsa"
    ssh "$host" 'curl -s https://burntsushi.net/stuff/setup-home | sh -l'
done