Open a console on the remote server where you want to provision the system and run the following command:
curl https://raw.githubusercontent.com/eaudeweb/ansible-php-workstation/main/install.sh | bash
- Install SSH daemon on remote computer
sudo apt install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh
- Setup SSH key-based authentication for the provisioning user
ssh-copy-id -i ~/.ssh/id_ed25519.pub [email protected]
- Secure SSH daemon - in /etc/ssh/sshd_config enable:
PermitRootLogin no
PasswordAuthentication no