burnett01-rsync-deployments/agent-add

4 lines
123 B
Plaintext
Raw Normal View History

2020-01-02 23:57:06 +08:00
#!/bin/sh
2020-01-03 23:41:34 +08:00
source agent-start "${1:-default}"
cat - | tr -d '\r' | DISPLAY=1 SSH_ASKPASS=agent-askpass ssh-add - >/dev/null