dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git]
/
remote
/
duplicity-key-send
diff --git a/remote/duplicity-key-send
b/remote/duplicity-key-send
new file mode 100755
(executable)
index 0000000..
0580e1b
--- /dev/null
+++ b/
remote/duplicity-key-send
@@ -0,0
+1,7
@@
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/remote/lib.sh
+
+gpg --export-options export-reset-subkey-passwd \
+ --export-secret-subkeys "backup+$vm_hostname@$vm_domainname" |
+"$tool"/remote/ssh gpg --import -