Add arguments to add and autostart.
This commit is contained in:
parent
7e8e10f130
commit
d9fbddef5e
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source agent-start
|
source agent-start "${1:-default}"
|
||||||
cat - | tr -d '\r' | ssh-add - >/dev/null
|
cat - | tr -d '\r' | ssh-add - >/dev/null
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source agent-start
|
source agent-start "${1:-default}"
|
||||||
echo "$SSH_PRIVATE_KEY" | agent-add
|
echo "$SSH_PRIVATE_KEY" | agent-add
|
Loading…
Reference in New Issue