burnett01-rsync-deployments/agent-add

4 lines
123 B
Bash

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