1
Fork 0

Regenerate hermes key

This commit is contained in:
prescientmoon 2024-08-27 21:56:19 +02:00
parent 141b023739
commit 1b962254d1
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
8 changed files with 99 additions and 88 deletions

8
scripts/save-keys.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
dir=/hermes/secrets/$(hostname)/
mkdir -p $dir
cp /persist/state/etc/ssh/ssh* $dir
cp /home/*/.ssh/id* $dir
touch $dir/disk.key
echo "💫 Don't forget to provide a disk encryption key!"