Guide for running my game servers within Windows Hyper-V.

The setup is pretty standard with one major excpetion

For the Linux install itself (using ubuntu as a reference):

Some Post installation steps to make sure things are up and running

sudo su
dpkg -i packages-microsoft-prod.deb
apt-get update
apt-get upgrade
apt-get autoremove && apt-get autoclean
apt-get install linux-virtual linux-tools-virtual linux-cloud-tools-virtual linux-image-extra-virtual 
apt-get install openssh-server htop iftop
#Update SSH with our settings.  recommend changing the port number, enabling PubKeyAuth and removing PasswordAuth
sed -i -e 's/#Port 22/Port 222/g' -e 's/#PubkeyAuthentication no/PubkeyAuthentication yes/g' -e 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config 
service ssh start
ifconfig -a

Review the IP Address in the output and test SSH connections with the account that you used to do the install (using the cert imported from Git in the steps above)

Share this:

Like this:

%d bloggers like this: