Skip to content

seatrips/Easy_prepare_VPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Easy_prepare_VPS

Prepare VPS with Sudo User and login with ssh key

How to setup ssh key:

Tested on Ubuntu 18.04 and 16.04 with following hosts

Install:

wget https://raw.githubusercontent.com/seatrips/Easy_prepare_VPS/master/prepare.sh > /dev/null 2>&1 && bash prepare.sh

What happens:

  • add 2G SWAP ( change script for more or less )
  • fix locales if you want
  • update
  • upgrade
  • dist-upgrade
  • install NTP
  • install fail2ban
  • install htop or glances
  • install/set UFW
  • allow 22 for ssh
  • set custom ports
  • possibility to make User with sudo rights
  • copy ssh key to new User
  • set passpword authentication no
  • set empty password no

@seatrips

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages