Debian server setup. Initially based on the blog post by Bryan Kennedy but it has since been expanded to include more setup tasks. It currently does the following:
- Change root password
- Create new user
- Disable root login over ssh
- Setup fail2ban
- Setup ufw
- Set timezone
- Install curl
- Install rsync
- Install htop
- Setup vim: including vimrc for root and user
- Setup borg: backup to local dir and upload to b2
- Setup AIDE
- Setup Logwatch
- Add ssh keys and disable password logins over ssh
- Backup regex for
/var/cache/bind
may match/var/cache/bind*
. We only want it to match/var/cache/bind
, nothing else.
Copyright (c) 2018-2019, Joe Jacobs. All rights reserved.
Released under a 3-clause BSD License.