A tool for quickly finding and connecting to OCI instances, OKE clusters, and autonomous databases via the bastion service.
oshiv is a command-line tool that simplifies working with Oracle Cloud Infrastructure (OCI) resources. It helps you:
- Find and list OCI resources (instances, clusters, databases, etc.)
- Connect to resources via the OCI bastion service
- Manage SSH connections and tunneling to OCI resources
Finding and connecting to OCI instances
# Search for instances
oshiv inst -f foo-node
# Connect via bastion service
oshiv bastion -i 123.456.789.5 -o ocid1.instance.oc2.us-luke-1.abcdefghijklmnopqrstuvwxyz
Finding and connecting to Kubernetes clusters
# Search for clusters
oshiv oke -f foo-cluster
# Connect via bastion service
oshiv bastion -y port-forward -k oke-my-foo-cluster -i 123.456.789.7
For detailed documentation, please refer to the following guides:
- Installation Guide - How to install oshiv
- Usage Guide - Prerequisites, authentication, and basic usage
- Examples - Common usage patterns and tunneling examples
- Contributing - How to contribute to the project
- Future Enhancements - Planned features and improvements
- Reference - Additional resources and links
Please see CONTRIBUTING.md for guidelines on submitting Enhancement Proposals and Pull Requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.