architecture / warpgate

Smart SSH bastion that works with any SSH client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warpgate

GitHub All Releases    

Warpgate is a smart SSH bastion host for Linux that can be used with any SSH client.

  • Set it up in your DMZ, add user accounts and easily assign them to specific hosts within the network.
  • Warpgate will record every session for you to replay and review later through a built-in admin web UI.
  • Not a jump host - forwards your connections straight to the target instead.
  • Single-file statically linked binary with no dependencies.
  • Written in 100% safe Rust.

image

Getting started & downloads

Project Status

The project is currently in alpha stage and is gathering community feedback. See the official roadmap for the upcoming features.

In particular, we're working on:

  • Support for exposing HTTP(S) endpoints through the bastion,
  • Support for tunneling database connections,
  • Live session view and control,
  • Requesting admin approval for sessions
  • and much more.

How it works

Warpgate is a service that you deploy on the bastion/DMZ host, which will accept SSH connections and provide an (optional) web admin UI.

It receives SSH connections with specifically formatted credentials, authenticates the user locally, connects to the target itself, and then connects both parties together while (optionally) recording the session.

You manage the target and user lists and assign them to each other through a config file (default: /etc/warpgate.yaml), and the session history is stored in an SQLite database (default: in /var/lib/warpgate).

You can use the web interface to view the live session list, review session recordings and more.

Contributing / building from source

  • You'll need nightly Rust (will be installed automatically), NodeJS and Yarn
  • Clone the repo
  • Just is used to run tasks - install it: cargo install just
  • Install the admin UI deps: just yarn
  • Build the API SDK: just openapi-client
  • Build the frontend: just yarn build
  • Build Warpgate: cargo build (optionally --release)

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Eugeny

💻

Spencer Heywood

💻

Andreas Piening

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Smart SSH bastion that works with any SSH client

License:Apache License 2.0


Languages

Language:Rust 88.1%Language:Svelte 9.2%Language:SCSS 1.2%Language:TypeScript 0.5%Language:Shell 0.5%Language:Dockerfile 0.3%Language:HTML 0.1%Language:JavaScript 0.1%