/vps-kickstart

This is devops script to setup a new vps

Primary LanguageShell

VPS KICKSTART

[DEVOPS]

Initialise vps:

  • If vps has a physical firewall (ionos vps has), you should enable 4222/TCP
  • You need to get/create a public ssh key for connecting to the server later

Usage

# server mode will install fail2ban on the machine
$ chmod +x setup.sh

# simple run
$ ./setup.sh 

# add new user
$ ./setup.sh -u username

# add you ssh key
$ ./setup.sh -k public_key

# you can combine options
  • Now you will be able to login on the server on port 4222