ssh-tunnel

Configure SSH tunnels for port forwarding, jump hosts, and key management.

2|1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/albertdobmeyer/opentrapp --skill ssh-tunnel-albertdobmeyer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-tunnel
Source: https://github.com/albertdobmeyer/opentrapp/tree/main/workloads/skills/skills/ssh-tunnel
Command: npx skills add https://github.com/albertdobmeyer/opentrapp --skill ssh-tunnel-albertdobmeyer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the guesswork from SSH tunneling by turning port forwarding, jump hosts, and key management into a clear, repeatable workflow for secure remote access.

Core Features & Use Cases

  • Local, remote, and dynamic forwarding: Expose databases, dev servers, and SOCKS proxies through SSH tunnels.
  • Jump host support: Route connections through bastions using ProxyJump or ProxyCommand.
  • Operational troubleshooting: Diagnose connection failures, host key issues, permission problems, and stuck sessions.
  • Use case: An engineer can reach a private PostgreSQL instance through a bastion, sync files to an internal host, and keep long-lived sessions stable with SSH config and multiplexing.

Quick Start

Ask the assistant to configure the safest SSH tunnel or port-forwarding command for my host, including the right SSH config and troubleshooting steps.

Frequently Asked Questions about ssh-tunnel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an SSH tunnel for secure port forwarding to a remote database?

SSH tunneling secures port forwarding by routing remote database connections through an encrypted channel. You can use local, remote, or dynamic forwards to expose private instances via a bastion host using standard OpenSSH commands and config.

What is the difference between local, remote, and dynamic SSH port forwarding?

SSH port forwarding includes local forwards to access remote ports locally, remote forwards to expose local ports to remote hosts, and dynamic forwards to create SOCKS proxies. Each type secures different network access patterns through the encrypted SSH tunnel.

How do I connect to a private host using an SSH jump host and ProxyJump?

SSH jump host connections route traffic through a bastion server using ProxyJump or ProxyCommand. This configuration allows secure access to internal network hosts without requiring direct inbound exposure or manual multi-hop SSH commands.

Why does my SSH tunnel connection fail or drop during file transfers with rsync?

SSH tunnel connection failures during rsync transfers often stem from host key mismatches, permission issues, or unstable sessions. You can debug these connection failures and stabilize long-lived sessions using SSH multiplexing and config management.

Do I need any special software to use SSH multiplexing and ProxyCommand?

SSH multiplexing and ProxyCommand require standard OpenSSH features available on most Unix-like systems. No special software is needed; the workflow relies on native ssh, scp, rsync, and SSH config support to maintain stable, repeated tunnel connections.