mkdir -p ssh rm -rf .ssh/* echo -n '[[RESTIC_PRIVKEY]]' | base64 --decode > ./ssh/id_ed25519 echo -n '[[RESTIC_PUBKEY]]' | base64 --decode > ./ssh/id_ed25519.pub echo -n '[[RESTIC_KNOWN_HOSTS]]' | base64 --decode > ./ssh/known_hosts