Regenerate hermes key
This commit is contained in:
parent
141b023739
commit
1b962254d1
8 changed files with 99 additions and 88 deletions
scripts
8
scripts/save-keys.sh
Executable file
8
scripts/save-keys.sh
Executable 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!"
|
Loading…
Add table
Add a link
Reference in a new issue