mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-27 09:53:46 +01:00
add ssh pass ability to agent-start
* invokes agent-askpass when a passphrase protected key should be added via ssh-add
This commit is contained in:
parent
d0cc021e84
commit
eb3ddd767e
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
source agent-start "${1:-default}"
|
||||
cat - | tr -d '\r' | ssh-add - >/dev/null
|
||||
cat - | tr -d '\r' | DISPLAY=1 SSH_ASKPASS=agent-askpass ssh-add - >/dev/null
|
Loading…
Reference in a new issue