CLI Command making OCI Bastion simple and fast
Project description
Auto Bastion
Manage your bastion sessions automatically without pain of creating them by clicking and copy pasting commands
Supported
OS
No specific requirements here, whatever runs Python
Cloud Providers
- Oracle Cloud
Requirements
Python
- 3.7+
OCI CLI
This package needs oci cli installed to function Tutorial on Installation
Configuration of OCI CLI
- Add key in your Oracle cloud profile
- Generate new key
- Copy configuration file generated in your profile to
~/.oci/config
- Replace path of your
*.pem
key on line with #TODO
Installing
MacOS
On most MacOS machines there is pip3
instead of pip
use pip3 for install
Install and update using pip:
pip install abst
or
pip3 install abst
How to set up
- Use
abst config fill
to fill your credentials for usage, you can find all the credentials on cloud provider site
Usage
Both commands do automatic reconnect on idle SSH Tunnel termination
abst create forward/managed single
for single bastion session with persisting SSH connectionabst create forward/managed fullauto
for automatic Bastion session creation once deleted, will keep your connection alive till you kill this scriptabst clean
for removal all the saved credentials
Did I made your life less painful ?
Support my coffee addiction ;)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
abst-1.4.4.tar.gz
(9.7 kB
view hashes)
Built Distribution
abst-1.4.4-py3-none-any.whl
(9.4 kB
view hashes)