X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=all_new_2018%2Fborg.sh;h=8cf0c441d42f75b8ccab931716ffc651e0358fb9;hb=f1cc34687ca22a7c2054486d7b02bdfab478a95e;hp=522285a481c35556aeac0c37377bcbe1ba0c00e4;hpb=a7fd0ec1f6d465ec9e1460e7430fcb5ccc1d3257;p=config
diff --git a/all_new_2018/borg.sh b/all_new_2018/borg.sh
index 522285a..8cf0c44 100755
--- 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