Welcome to The Bastion documentation!¶
This documentation is in a WIP status, some edges might be rough!
Wait, what's a bastion exactly? (in 140-ish characters)¶
A so-called bastion is a machine used as a single entry point by operational teams (such as sysadmins, developers, devops, database admins, etc.) to securely connect to other machines of an infrastructure, usually using ssh.
The bastion provides mechanisms for authentication, authorization, traceability and auditability for the whole infrastructure.
Just yet another SSH relayhost/jumphost/gateway?¶
No, The Bastion is an entirely different beast.
The key technical difference between those and The Bastion is that it strictly stands between you and the remote server, operating a protocol break in the process, which enables unique features such as tty recording, proper access auditability, builtin access and groups management commands, delegation of responsibilities all the way through, etc.
Advanced uses even include doing other things than just SSHing to a remote server.
Those wouldn't be possible with a "simple" jumphost. More technical details on the difference here.
OK, tell me more!¶
This documentation is organized in several sections. The first one is a presentation of the main functionalities, principles, and use cases of the bastion.
The second section explains how to get the bastion running, including how to set up a quick playground using Docker if you want to get your hands dirty quickly.
The third section focuses on how to use the bastion, from the perspective of the different roles, such as bastion users, group owners, bastion admins, etc.
The fourth section is about the proper administration of the bastion itself. If you're about to be the person in charge of managing the bastion for your company, you want to read that one carefully!
The fifth section is the complete reference of all the plugins, that are the commands used to interact with the bastion accounts, groups, accesses, credentials, and more.
The last section is the unavoidable and iconic Frequently Asked Questions.
- Installation & Setup
- Using the bastion
- Bastion plugins
- "The Bastion", really?
- Why using common::sense?
- Why Perl?
- Why not using a PKI?
- What does osh mean in
- What are the recommended hardware specifications?
- Can I run it under Docker in production?
- Can I install it on my already existing server?
- How to use The Bastion with the SSH
- What is session locking?