SSH Public Key Authentication
Only use this process if you are installing your website on a remote server from your game server. You already configured this for the game server, if this is a Local Server install, skip this step.
You will need to create a SSH keyfile so that you can authenticate with this server in a secure fashion. You need to execute this as the ubuntu user, do not use sudo for the ssh-keygen command. You may name this key anything you want by replacing “My key for My Atavism Server” below.
ssh-keygen -t ed25519 -C “My key for My Atavism Web Server” sudo cat /home/ubuntu/.ssh/id_ed25519.pub >> /home/ubuntu/.ssh/authorized_keys sudo nano /etc/ssh/sshd_config |
Add the following into the file at the bottom and save the file.
AuthorizedKeysFile /home/ubuntu/.ssh/authorized_keys
Execute the following command to restart your SSH service.
sudo service ssh restart |