aboutsummaryrefslogtreecommitdiff
path: root/scripts/box/user-data.env.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-10 12:15:49 -0300
committerEuAndreh <eu@euandre.org>2020-08-10 12:45:43 -0300
commit100ab568e3aeb512e86fd1155a73454d22e24895 (patch)
tree1d7ff9168b8cfc60e173f2a19f30938bc68d0f6e /scripts/box/user-data.env.sh
parentWIP: Move to Vultr and NixOS (diff)
downloadtoph-100ab568e3aeb512e86fd1155a73454d22e24895.tar.gz
toph-100ab568e3aeb512e86fd1155a73454d22e24895.tar.xz
Migration: Remove Ansible and Docker code, move only to NixOS
Diffstat (limited to 'scripts/box/user-data.env.sh')
-rwxr-xr-xscripts/box/user-data.env.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/box/user-data.env.sh b/scripts/box/user-data.env.sh
deleted file mode 100755
index f9da5d7..0000000
--- a/scripts/box/user-data.env.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-# shellcheck disable=SC2016
-
-echo '$SSH_SERVER_PRIVATE_KEY' > /etc/ssh/vps-box-server
-chmod 400 /etc/ssh/vps-box-server
-echo '$SSH_SERVER_PUBLIC_KEY' > /etc/ssh/vps-box-server.pub
-echo 'HostKey /etc/ssh/vps-box-server' >> /etc/ssh/sshd_config
-echo 'Port $SSH_PORT' >> /etc/ssh/sshd_config
-systemctl restart sshd
-
-# SSH logs on /var/log/auth.log