github.com_burnett01_rsync-.../agent-add

4 lines
123 B
Text
Raw Normal View History

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