1
Fork 0
satellite/scripts/save-keys.sh

9 lines
208 B
Bash
Raw Permalink Normal View History

2024-08-27 21:56:19 +02:00
#!/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!"