LandarVargan's scripts/notes for setting up/running a CTF server.
Don't run anything unless you know exactly what you and the script are doing. The goal is to make this reliable and usable by less tech-savvy users, but the day that becomes a reality is a LONG way off
nano /etc/ssh/sshd_config
- Set
PasswordAuthentication
tono
and uncomment - Set ClientAliveInterval and ClientAliveCountMax if you have Landar's weird internet
- Set
- Run
ssh-copy-id
locally, look it up if you don't know what it is.
sudo apt update && sudo apt install git
sudo useradd -s /bin/bash -m -G sudo minetest
loginctl enable-linger minetest
sudo passwd minetest
Set the user passwordsu minetest
cd ~ && git clone https://github.com/MT-CTF/ctf-scripts.git && cd ctf-scripts/ && chmod +x *.sh