Diagnoses and fixes SSH tunnel connection issues for Estuary captures and materializations, including key format validation, IP allowlisting, and connectivity testing.
Ships in estuary-operations. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before deep debugging, verify these common issues:
SSH Endpoint format: Must be ssh://user@hostname:port
us-west-2 not us-west 2Private key format: Must be RSA PEM format
-----BEGIN RSA PRIVATE KEY----------BEGIN OPENSSH PRIVATE KEY----- (OpenSSH format)-----BEGIN PRIVATE KEY----- (PKCS#8 format)IP allowlisting: Estuary data plane IPs must be allowed on:
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.
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):
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.
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.
mysql -h 127.0.0.1 -P 3306 -u dbuser -p
If this works locally but Estuary's connector fails, the issue is likely IP allowlisting — the user's machine can reach the bastion but Estuary's data plane IPs cannot.
Note: If the Test Connection button fails but the configuration looks correct, try Save and Publish anyway — test connectivity is sometimes stricter than the runtime connection.
| Error Message | Cause | Solution |
|---|---|---|
network-tunnel failed | Generic tunnel failure | Check SSH endpoint format, key format, firewall rules |
network-tunnel ready but connector still failing | Known false positive — this log can appear even when the tunnel failed | Check log entries before "tunnel ready" for the real error |
Permission denied (publickey) | Auth failure | Check key format (must be RSA PEM), username, key content — also check for trailing whitespace or extra newlines in the pasted key |
no pubkey loaded | Key format issue | Convert key to RSA PEM format (see below) |
If the private key starts with -----BEGIN OPENSSH PRIVATE KEY-----, it needs to be converted to RSA PEM format:
ssh-keygen -p -N "" -m pem -f /path/to/key
To generate a new compatible key from scratch:
ssh-keygen -m PEM -t rsa -b 4096 -f mykey
Then add the public key (mykey.pub) to ~/.ssh/authorized_keys on the bastion host.
# WRONG - space in region
ssh://[email protected] 2.compute.amazonaws.com:22
# WRONG - missing hyphen
ssh://[email protected]:22
# CORRECT
ssh://[email protected]:22
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/estuary-catalog-historyView publication history for catalog resources — who changed what and when. Use when investigating timeline of changes, finding who modified a connector, or correlating changes across capture/collection/materialization chains. Use when user says "what changed", "who changed", "publication history", "catalog history", "when was it published", "timeline of changes", or "what happened to my connector"./estuary-catalog-statusRun flowctl catalog status to check the control-plane state of an Estuary resource, or list catalog specs to see which connectors exist and which are active. Use when checking whether a task is running, disabled, or failing, interpreting status output, or enumerating connectors. Use when user says "check task status", "is my capture running", "catalog status", "flowctl catalog status", "what's wrong with my capture", "task failing", "check catalog status", "collection status", "derivation status", "why is my task disabled", "list my connectors", "show me my connectors", "list captures", "list materializations", "what connectors do I have", or "show me all my active connectors".Other plugins' skills for the same job
/estuary-connector-restartPause and restart Estuary connectors by disabling and re-enabling shards via flowctl. Use when temporarily stopping a connector, performing source/destination maintenance, or forcing a fresh restart to clear transient errors or load updated configs immediately. Use when user says "pause connector", "stop connector", "restart connector", "disable connector", "enable connector", "re-enable task", "disable shards", "stop my capture", "stop my materialization", "disable my materialization", "force restart connector", "connector maintenance", "temporarily stop processing", "shards disable true", "enable shards", "resume connector", or "unpause connector"./estuary-operations:estuary-ssh-tunnelsfrom estuary-operations
npx claudepluginhub estuary/agent-skills --plugin estuary-operations