Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git] / remote / duplicity-key-send
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/remote/lib.sh
4
5 gpg --export-options export-reset-subkey-passwd \
6 --export-secret-subkeys "backup+$vm_hostname@$vm_domainname" |
7 "$tool"/remote/ssh gpg --import -