aboutsummaryrefslogtreecommitdiff
path: root/scripts/local
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-10 22:21:38 -0300
committerEuAndreh <eu@euandre.org>2019-06-10 23:26:02 -0300
commit217d2863709ebbe1ed766a360edb228e8899fc68 (patch)
tree098d505648c380bd3af6430d9e222c621f776f5f /scripts/local
parentTODOs.org (diff)
downloadserver-217d2863709ebbe1ed766a360edb228e8899fc68.tar.gz
server-217d2863709ebbe1ed766a360edb228e8899fc68.tar.xz
Output all generated files on ./generated/, refactor .envrc variables
Diffstat (limited to '')
-rwxr-xr-xscripts/local/rotate-ssh-keys.sh (renamed from rotate-ssh-keys.sh)1
1 files changed, 1 insertions, 0 deletions
diff --git a/rotate-ssh-keys.sh b/scripts/local/rotate-ssh-keys.sh
index 7189657..337f351 100755
--- a/rotate-ssh-keys.sh
+++ b/scripts/local/rotate-ssh-keys.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
+cd ../../
rm -f ./secrets/ssh/*
ssh-keygen -t rsa -b 4096 -q -N '' -f ./secrets/ssh/vps-box-client