latest junk

This commit is contained in:
2019-10-31 06:32:07 -07:00
parent 19acc1bc9f
commit 51c68803c5
2 changed files with 33 additions and 0 deletions

10
bin/unlock-syncpi-las2 Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
KEYFILE="$HOME/Documents/sync/secrets/luks/syncpi-las2.luks.txt.gpg"
if [[ ! -e "$KEYFILE" ]]; then
echo "wrong box!" >> /dev/stderr
exit 1
fi
gpg -d "$KEYFILE" | ssh root@syncpi-las2.tor "bash /root/unlock_disks"