

Then ingame through the server list or “connect ipaddresshere:28015”. If there is no hitches within just a few minutes you will be able to connect through RCON. Now do “chmod u+x startrust.sh” then “./startrust.sh” which will start your server. You will need to fill in your own values such as world seed etc. server.headerimage "512x256px JPG/PNG headerimage link here" \ server.saveinterval 300 \-server.globalchat true \ Once you’ve done the above with SteamCMD it is now smooth sailing you now do “cd directorysetwithsteamcmd” and then nano startrust.sh and paste this:Įxec. Once you’ve done that head back to Session then click Default Settings then Save then open for a passwordless login. Now close PuTTY and reopen it then simply on the left side goto Connection -> SSH -> Authentication then browse and select your private key file that you just saved. Now you just need to open PuTTYgen back open and save the public and private key in a folder somewhere safe. Now press ctrl+p (save) and ctrl+x (exit) and then finally type “service ssh reload” Now ctrl+w and do type PermitRootLogin and simply change it to “without-password”. Now page down to the bottom and change UsePAM to no. Now remove the hash and change the yes at the end to a no. Now type “nano /etc/ssh/sshd_config” then ctrl+w then “PasswordAuth” then enter. Now head back to PuTTY where you left off at the nano editor and right click to paste your public key in then do ctrl+o -> enter -> ctrl+x. Now head back to PuTTYgen then right click inside the box with lots of characters and press select all then copy. Now type all of these individually on a per line basis in PuTTY: Now download PuTTYgen then generate the key. Now your root password is secure you need to update the software by doing “apt-get update -y & apt-get upgrade -y” then “apt-get install fail2ban nano -y”. Then type “passwd root” and then right click twice in the terminal. Head over to a PasswordGenerator site and generate a random password with a length of 50+ and copy it. Login to your server through SSH ( PuTTY is recommended).

This will be mainly focused on people who aren’t familiar in terms of security or Debian in general. This bit will be the longest part of the guide but will serve you well in terms of the security of your server.
