mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
Add arguments to add and autostart.
This commit is contained in:
parent
7e8e10f130
commit
d9fbddef5e
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
source agent-start
|
||||
source agent-start "${1:-default}"
|
||||
cat - | tr -d '\r' | ssh-add - >/dev/null
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
source agent-start
|
||||
source agent-start "${1:-default}"
|
||||
echo "$SSH_PRIVATE_KEY" | agent-add
|
Loading…
Reference in a new issue