Skip to content

Tool for finding and connecting to OCI instances

License

Notifications You must be signed in to change notification settings

cnopslabs/oshiv

Repository files navigation

OCI Shiv

CI Build GitHub release (latest SemVer) Version Built with GoLang License Go Report Card

A tool for quickly finding and connecting to OCI instances, OKE clusters, and autonomous databases via the bastion service.

Overview

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

Quick Examples

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

Documentation

For detailed documentation, please refer to the following guides:

Contributing

Please see CONTRIBUTING.md for guidelines on submitting Enhancement Proposals and Pull Requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Tool for finding and connecting to OCI instances

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •