burnett01-rsync-deployments/agent-add

4 lines
87 B
Bash

#!/bin/sh
source agent-start "${1:-default}"
cat - | tr -d '\r' | ssh-add - >/dev/null