home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7fd0ec
)
Ensure we don't get asked for SSH passphrase repeatedly in borg script.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 19 Dec 2018 22:01:27 +0000
(23:01 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 19 Dec 2018 22:01:27 +0000
(23:01 +0100)
all_new_2018/borg.sh
patch
|
blob
|
history
diff --git
a/all_new_2018/borg.sh
b/all_new_2018/borg.sh
index 522285a481c35556aeac0c37377bcbe1ba0c00e4..8cf0c441d42f75b8ccab931716ffc651e0358fb9 100755
(executable)
--- a/
all_new_2018/borg.sh
+++ b/
all_new_2018/borg.sh
@@
-14,6
+14,8
@@
usage() {
}
read_pw() {
+ eval $(ssh-agent)
+ ssh-add
stty -echo
printf "Passphrase: "
read password