A simple bastion system for linux hosts
Visit GitHub Releases and download the latest release.
Static assets are embedded in the binary, so you don't need to download anything else.
- Prepare a
data
directory and putconfig.yaml
configuration file in it - Run
bunker --data-dir data
Visit DockerHub Repository or GitHub Packages for container images
- Prepare a
data
directory and putconfig.yaml
configuration file in it - Run container image with
/data
mounted,docker run -p 8080:8080 -p 8022:8022 -v $PWD/data:/data yankeguo/bunker:latest
Put a users.yaml
file in data-dir
to initialize the system with users.
username: yanke
password: qwerty
is_admin: true
update_existing: true
---
username: guest
password: guest
Prepare a config.yaml
file
ui: # for display only
ssh_host: "my.fancy.domain"
ssh_port: "8022"
server:
listen: ":8080"
ssh_server:
listen: ":8022"
GUO YANKE, MIT License