Add zip keys
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-02-18 16:26:35 +01:00
parent e9671cbe81
commit 42a6110e3c
5 changed files with 25 additions and 2 deletions

12
infrastructure/zip-ssh-keys.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
ZIP_KEY=$(openssl rand -hex 30)
mkdir -p ssh_keys/
cp -f ~/.ssh/id_ed25519* ssh_keys/
zip -r --password $ZIP_KEY ssh_keys.zip ssh_keys/
echo "zip done!"
echo "Zip key: $ZIP_KEY"