Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/actuallymentor/vps-setup-ssh-zsh-pretty
Setup script to set up VPS servers the way I like them
https://github.com/actuallymentor/vps-setup-ssh-zsh-pretty
Last synced: 4 days ago
JSON representation
Setup script to set up VPS servers the way I like them
- Host: GitHub
- URL: https://github.com/actuallymentor/vps-setup-ssh-zsh-pretty
- Owner: actuallymentor
- License: mit
- Created: 2017-06-27T14:38:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T20:48:35.000Z (3 months ago)
- Last Synced: 2024-08-21T22:25:28.419Z (3 months ago)
- Language: Shell
- Size: 59.6 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vps-setup-ssh-zsh-pretty
Setup script to set up VPS servers the way I like them.
I advise adding your own SSH key into the script. Use this verbatim and you'll be giving me control of your servers.
Usage:
```bash
git clone https://github.com/actuallymentor/vps-setup-ssh-zsh-pretty.git setup && cd setup
# CHANGE THE key.pub FILE TO YOUR KEY
bash setup.sh
cd .. && rm -rf ./setup
```To run this script silently (skips firewall and nonroot user), pass `true` as the first argument:
```
bash setup.sh true
```## Important notes:
1. This script assumes default config files for `sshd` and `unattended-upgrades`
1. This will disable password-based authentication on your system, make sure you have an ssh key installed or you will not be able to SSH into your server **at all**
- An implicit assumption is that you run this script from a root user that logs in via an ssh key