Skip to content

Instantly share code, notes, and snippets.

@sz3n
Last active June 15, 2016 22:24
Show Gist options
  • Save sz3n/db78e51df89dbbfdf41a8f1dd3a2a2a1 to your computer and use it in GitHub Desktop.
Save sz3n/db78e51df89dbbfdf41a8f1dd3a2a2a1 to your computer and use it in GitHub Desktop.
Ubuntu 16.04
#HP Microproliant GEN8 - Ubuntu 16.04
#prevent apt from using IPV6
Append the following to /etc/gai.conf
precedence ::ffff:0:0/96 100
apt-get install console-common
sudo dpkg-reconfigure console-data
#vim /etc/network/interfaces
iface etn1 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
apt-get install openssh-server
#harden ssh config
sudo update-rc.d ssh defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment