estuary-ssh-tunnels

estuary-ssh-tunnels is a skill for Claude Code from estuary/agent-skills. It costs 90 tokens per session (1,174 once invoked), scanned C, original, Apache-2.0.

A troubleshooting guide for SSH tunnels, which are encrypted connections used to reach systems that are not directly accessible from the internet. It applies to Estuary data connections.

In plain words
What is it for?
Use it when an Estuary capture or destination cannot connect through an SSH tunnel, especially when the error mentions timeouts, permissions, or network tunnels.
Why use it?
It helps diagnose failed tunnels, timeouts, and permission errors by checking connection details, key formats, network rules, and data-plane selection.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the estuary-operations plugin — 8 skills shipped together

Good fit Use it when an Estuary capture or destination cannot connect through an SSH tunnel, especially when the error mentions timeouts, permissions, or network tunnels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/estuary/agent-skills/estuary-ssh-tunnels
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add estuary/agent-skills --skill estuary-ssh-tunnels
Clone the repo
git clone --depth 1 https://github.com/estuary/agent-skills

Made for: Claude Code.

Or install estuary-operations, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for estuary-ssh-tunnels

README.md
[![agentmods](https://agentmods.dev/badge/skills/estuary/agent-skills/estuary-ssh-tunnels/github.svg)](https://agentmods.dev/skills/estuary/agent-skills/estuary-ssh-tunnels)
Your own site
<a href="https://agentmods.dev/skills/estuary/agent-skills/estuary-ssh-tunnels"><img src="https://agentmods.dev/badge/skills/estuary/agent-skills/estuary-ssh-tunnels/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for estuary-ssh-tunnels

Your own site · 80×15
<a href="https://agentmods.dev/skills/estuary/agent-skills/estuary-ssh-tunnels"><img src="https://agentmods.dev/badge/skills/estuary/agent-skills/estuary-ssh-tunnels.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,174 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01174
Opus 5 $0.00045 $0.00587
Sonnet 5 $0.00018 $0.00235
Haiku 4.5 $0.00009 $0.00117

Measured 11d ago against content hash baf13c4410c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

estuary-ssh-tunnels scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

Then add the public key (`mykey.pub`) to `~/.ssh/authorized_keys` on the bastion host.
skills/estuary-ssh-tunnels/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SSH Tunnel Troubleshooting for Estuary

Quick Checklist

Before deep debugging, verify these common issues:

  1. SSH Endpoint format: Must be ssh://user@hostname:port

    • Check for typos, spaces, missing hyphens
    • AWS regions use hyphens: us-west-2 not us-west 2
  2. Private key format: Must be RSA PEM format

    • Must start with -----BEGIN RSA PRIVATE KEY-----
    • NOT -----BEGIN OPENSSH PRIVATE KEY----- (OpenSSH format)
    • NOT -----BEGIN PRIVATE KEY----- (PKCS#8 format)
    • Ed25519 and ECDSA keys are not supported — only RSA
  3. IP allowlisting: Estuary data plane IPs must be allowed on:

    • Bastion/SSH server security group (port 22)
    • Database security group (from bastion's private IP)
    • Find the IPs for your data plane at Admin → Settings → Data Planes in the Estuary UI
    • Note: data plane IPs can change after infrastructure scaling — re-verify allowlists if a previously working tunnel stops connecting
  4. Data plane selection: The user should verify the correct data plane is selected in the Estuary UI when editing the connector. Each data plane has different egress IPs — using the wrong one means the wrong IPs are connecting.

Testing SSH Connectivity

If the quick checklist doesn't resolve the issue, instruct the user to test SSH connectivity from a machine that can reach the bastion host (e.g., their local machine or another server in the same network):

Test SSH connection

ssh -i /path/to/private_key -o StrictHostKeyChecking=no -v user@bastion-host -p 22

A successful connection confirms the key, username, and network path are correct.

Test the tunnel

ssh -i /path/to/private_key -o StrictHostKeyChecking=no \
    -L 3306:database-endpoint:3306 \
    user@bastion-host -N -v &

Then test the database connection through the tunnel (substitute the client and port for the relevant database type — MySQL 3306, PostgreSQL 5432, SQL Server 1433):

Important: The database address used here (and in the connector's address config field) must be the address as seen from the bastion host — not from the user's local machine. If the database is on a private subnet visible to the bastion (e.g., db.internal:5432), use that address.

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 99 lines · 90 tokens per session scan C baf13c4410c1

Subscribe to this mod's changes

estuary-ssh-tunnels is a skill published in the GitHub repository estuary/agent-skills (7 stars, last pushed 20d ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,174 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens

gke-workload-troubleshooting

Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.

google/skills · 69 tokens

gke-ai-troubleshooting-handle-disruption-gpu-tpu

Diagnoses, predicts, and mitigates node disruptions during Compute Engine host maintenance and hardware or software maintenance events for GPU and TPU workloads on GKE. Use when diagnosing node disruptions, predicting host maintenance events on GPU/TPU nodepools, inspecting node interruption PromQL metrics, auditing…

google/skills · 117 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

troubleshoot-sandbox

Troubleshoot OpenSandbox issues by running diagnostics (logs, inspect, events, summary) via CLI or HTTP API to diagnose sandbox failures like OOM, crash, image pull errors, network problems, etc.

opensandbox-group/OpenSandbox · 48 tokens