#!/usr/bin/bash source /etc/os-release export OS=$ID # Generate OpenSSH server key pair ssh-keygen -f /etc/ssh/ed25519 -t ed25519 -N "" ssh-keygen -lvf /etc/ssh/ed25519 > /etc/ssh/ed25519.fp source /install/install.sh if [[ $OS = "arch" ]]; then systemctl enable sshd systemctl enable knot systemctl enable nginx systemctl enable tor systemctl enable php-fpm pacman-key --init pacman-key --populate fi