Index of every page on this site: llms.txt
All skills
acedergren avatar

/managed-bastion-access

@641a79b
Run it yourself

Use when the user asks to "use OCI Bastion", "create Managed SSH", "debug a port forwarding session", "configure dynamic port forwarding", or "update client CIDR allowlist".

  • 2 files
  • 8.6 KB
  • Updated 6 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/acedergren/agentic-tools/managed-bastion-access

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈49 tokens for metadata: the name and description. ≈983 when used: this file. ≈1.1k more on demand in 1 file.

Description uses 2.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈198 characters, or 2.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

OCI Managed Bastion Access

Use this skill for OCI Bastion access to private targets, Managed SSH, port forwarding, dynamic SOCKS5 sessions, client CIDR allowlists, Bastion plugin issues, session TTLs, and private-instance access troubleshooting.

When to Use

Load this skill for: the user asks to "use OCI Bastion", "create Managed SSH", "debug a port forwarding session", "configure dynamic port forwarding", "update client CIDR allowlist", "enable Bastion plugin", or "access a private OCI instance".

For broad security-control selection, start with oci/oci-security-control-plane. For Terraform-created bastions or sessions, also load oci/infrastructure-as-code.

Do NOT load this skill when

Do not load this skill for generic SSH, public bastion hosts outside OCI Bastion, IAM-only problems, or network connectivity that does not use the OCI Bastion service. Use oci/compute-management for instance lifecycle and oci/networking-management for target-side route, NSG, and security-list rules.

NEVER Do This

NEVER create public SSH as a shortcut around Bastion. Use OCI Bastion, VPN/FastConnect, private endpoints, or another approved private-access pattern.

NEVER assume an ACTIVE Bastion session means SSH will succeed. Also verify the client CIDR allowlist, target-side network rules, OS username, private key, plugin state, target IP/port, and copied SSH command.

NEVER use Managed SSH without checking Oracle Cloud Agent and Bastion plugin state. Managed SSH requires a supported Linux target, OpenSSH, Oracle Cloud Agent, and the Bastion plugin enabled on the target instance.

NEVER request session TTL below 30 minutes or above 180 minutes. Oracle docs currently require at least 30 minutes and at most 180 minutes for session TTL.

NEVER update a Bastion client CIDR allowlist with stale state. Read the current bastion and ETag immediately before update, retry on ETag mismatch, and verify the final allowlist.

Session Choice

Need Prefer
SSH into supported Linux Compute with agent/plugin Managed SSH
Reach a specific TCP target such as SSH, RDP, database listener, or ADB private endpoint Port forwarding
Reach multiple private targets through a subnet-level tunnel Dynamic port forwarding (SOCKS5)
Target is Ubuntu/Ampere with plugin problems Port forwarding first, then repair Oracle Cloud Agent/plugin

Preflight Checklist

  1. Confirm the bastion is in the same VCN as the target resource.
  2. Confirm the client public IP is in the bastion client CIDR allowlist.
  3. Confirm IAM allows the caller to use bastions and sessions.
  4. Confirm target-side NSG/security list rules allow traffic from the bastion.
  5. For Managed SSH, confirm Oracle Cloud Agent and the Bastion plugin are enabled and healthy.
  6. Confirm the session target IP, port, OS username, SSH key, and TTL.
  7. Delete temporary sessions and temporary allowlist entries after use.

Reference Files

  • Load references/managed-bastion-reference.md for official docs, session choices, TTLs, plugin gotchas, allowlist updates, CLI/session quirks, and troubleshooting.
  • Load ../infrastructure-as-code/references/oci-terraform-bastion.md when Terraform manages bastions, sessions, IAM, allowlists, or guardrails against public SSH.
  • Load ../networking-management/references/oci-networking-reference.md only when target-side routes, NSGs, security lists, DNS, or private connectivity are part of the failure.

Arguments

$ARGUMENTS: Optional user-provided bastion OCID, session OCID, target instance, VCN, subnet, client CIDR, SSH command, OS username, error text, Terraform path, or cleanup deadline. When empty, infer the narrowest safe access path and ask only if a security-impacting allowlist or public exposure change is ambiguous.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 641a79b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 6 months ago
version
2.0.0
aliases
[
  "oci-bastion",
  "managed-bastion"
]
domains
[
  "oci",
  "security"
]
Other metadata
keywords
[
  "OCI",
  "Oracle Cloud",
  "OCI Bastion",
  "Bastion",
  "Managed SSH",
  "port forwarding session",
  "dynamic port forwarding",
  "SOCKS5",
  "client CIDR allowlist",
  "Bastion plugin",
  "Oracle Cloud Agent",
  "private instance"
]

README badge

README badge for acedergren/agentic-tools/managed-bastion-access