https://github.com/deadhedd/openbsd-server
Tools for my OpenBSD home server
https://github.com/deadhedd/openbsd-server
obsidian openbsd openbsd-scripts openbsd-setup server server-config server-configuration shell tap
Last synced: 8 months ago
JSON representation
Tools for my OpenBSD home server
- Host: GitHub
- URL: https://github.com/deadhedd/openbsd-server
- Owner: deadhedd
- License: mit
- Created: 2025-06-14T15:26:11.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-06-23T20:37:09.000Z (8 months ago)
- Last Synced: 2025-06-23T21:19:52.794Z (8 months ago)
- Topics: obsidian, openbsd, openbsd-scripts, openbsd-setup, server, server-config, server-configuration, shell, tap
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openbsd-server
A collection of scripts to configure and validate an OpenBSD server for hosting a Git-backed Obsidian vault.
---
## Scripts
### v0.1
- **openbsd_server_rebuild_public_v0.1.sh**
Automates setup of a fresh OpenBSD server so that it passes our validation tests.
- **test_openbsd_setup_public_v0.1.sh**
A self-contained TAP-compatible test suite that checks:
- User account setup & shells
- File permissions & doas policy
- Static network config & DNS
- SSH hardening
- Git installation & push access
- Bare-repo structure & safe directory flags
### v0.1.1 (test enhancements)
- **test_openbsd_setup_public_v0.1.1.sh**
Prep for next iteration—adds additional checks and refactors existing tests.
---
## Usage
### Run the tests
```sh
sh test_openbsd_setup_public_v0.1.sh
```
Or (for the upcoming iteration):
```sh
sh test_openbsd_setup_public_v0.1.1.sh
```
You can override any default via environment variables:
```
REG_USER=obsidian \
GIT_USER=git \
VAULT=myvault \
INTERFACE=em0 \
STATIC_IP=192.0.2.10 \
sh test_openbsd_setup_public_v0.1.sh
```
Run the setup
```
sh openbsd_server_rebuild_public_v0.1.sh
```
Releases & Tags
I tag each public version so you can grab a ZIP directly:
v0.1 – passing setup and test suite
v0.1.1 – next-iteration test enhancements
If you haven’t already:
```sh
git push origin --tags
```
And you can see our formal Releases page on GitHub.
License
MIT OR 0BSD — see the LICENSE file.