ssh-keygen -f /opt/autopeer/id_autopeer -N '' echo "You need to add your new SSH key (/opt/autopeer/id_autopeer) to dn42 gitea to clone the repo:" cat /opt/autopeer/id_autopeer.pub echo read -p "Press enter once you've done that..." apt install -y git # you needed this to clone apt install -y vim curl wget man-db whois bind9 bind9-dnsutils bird2 # suggestions apt install -y python3 wireguard-tools cron socat make libpam-dev gpg libssl-dev # dependencies ln -s /opt/autopeer/sshd_config /etc/ssh/sshd_config.d/autopeer.conf systemctl reload ssh addgroup autopeer adduser --disabled-password --comment '' new cat >>/etc/ssh/ssh_known_hosts </etc/wireguard/privkey umask 0022 wg pubkey /etc/wireguard/pubkey chmod 711 /etc/wireguard mkdir /var/log/autopeer chmod 1770 /var/log/autopeer chown root:autopeer /var/log/autopeer