aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-28 00:12:19 -0300
committerEuAndreh <eu@euandre.org>2019-05-28 00:12:19 -0300
commitaa4d55b5a7c9ed8c6ca76d60cddcc3b8a47101d9 (patch)
treed9bdb5b6cd4b583742a780563de6ab9e8fcbbcdd
parentTODOs.org (diff)
downloadtoph-aa4d55b5a7c9ed8c6ca76d60cddcc3b8a47101d9.tar.gz
toph-aa4d55b5a7c9ed8c6ca76d60cddcc3b8a47101d9.tar.xz
Rename ./secrets/id_rsa{.pub} -> ./secrets/vps_box{.pub}
-rwxr-xr-xci-setup.sh2
-rw-r--r--secrets/vps_box (renamed from secrets/id_rsa)bin3403 -> 3403 bytes
-rw-r--r--secrets/vps_box.pub (renamed from secrets/id_rsa.pub)bin763 -> 763 bytes
-rw-r--r--ssh.conf2
-rw-r--r--vps.tf2
5 files changed, 3 insertions, 3 deletions
diff --git a/ci-setup.sh b/ci-setup.sh
index a5eaf65..a5d0c0d 100755
--- a/ci-setup.sh
+++ b/ci-setup.sh
@@ -13,7 +13,7 @@ popd
echo "Done."
# git smudge after git-crypt clears file permissions
-chmod 600 ./secrets/id_rsa
+chmod 600 ./secrets/vps_box
cat .envrc >> ~/.buildenv
source .envrc
diff --git a/secrets/id_rsa b/secrets/vps_box
index 8bd910b..8bd910b 100644
--- a/secrets/id_rsa
+++ b/secrets/vps_box
Binary files differ
diff --git a/secrets/id_rsa.pub b/secrets/vps_box.pub
index 1301181..1301181 100644
--- a/secrets/id_rsa.pub
+++ b/secrets/vps_box.pub
Binary files differ
diff --git a/ssh.conf b/ssh.conf
index 1cc67de..327254f 100644
--- a/ssh.conf
+++ b/ssh.conf
@@ -1,4 +1,4 @@
Host $TLD
User root
- IdentityFile $PWD/secrets/id_rsa
+ IdentityFile $PWD/secrets/vps_box
StrictHostKeyChecking no
diff --git a/vps.tf b/vps.tf
index 335c5a6..8598250 100644
--- a/vps.tf
+++ b/vps.tf
@@ -22,7 +22,7 @@ resource "digitalocean_droplet" "vps" {
connection {
user = "root"
type = "ssh"
- private_key = "${file("${path.module}/secrets/id_rsa")}"
+ private_key = "${file("${path.module}/secrets/vps_box")}"
timeout = "2m"
}