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 datadirectory and putconfig.yamlconfiguration file in it
- Run bunker --data-dir data
Visit DockerHub Repository or GitHub Packages for container images
- Prepare a datadirectory and putconfig.yamlconfiguration file in it
- Run container image with /datamounted,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: guestPrepare 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