Version 0.1
It does:
- Changes the port of the SSH server.
- Adds an admin user.
- Adds the user to SUDO-ers and disables the need of a password.
- Adds that SSH-port to UFW and enables it.
- Updates repositories of apt-get
...more to come
Usage:
curl -sL "https://gist.githubusercontent.com/rvanzon/b64f8cd0b0a2897455c85f72cc9cb3d6/raw/server-install.sh" | bash -s SSH_PORT ADMIN_USER ADMIN_PASSWORD
Example:
curl -sL "https://gist.githubusercontent.com/rvanzon/b64f8cd0b0a2897455c85f72cc9cb3d6/raw/server-install.sh" | bash -s 22 admin verysecretpassword