Last active
April 12, 2018 11:23
-
-
Save timlinux/4601b5247af46935a37b9b8102a72eff to your computer and use it in GitHub Desktop.
docker-node-setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Setup script for new cloud nodes | |
| # Will require key based authentication for SSH | |
| # Will enabled automatic package updates | |
| echo "PasswordAuthentication no" >> /etc/ssh/sshd_config | |
| /etc/init.d/ssh restart | |
| apt install -y byobu links2 vim python-pip htop figlet | |
| apt install -y chkrootkit sshguard logwatch | |
| apt install -y unattended-upgrades | |
| echo $HOSTNAME | figlet >> /etc/issue.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment