terminal-forward-local-to-remote

Forward a remote SSH port to a local host and port.

19|14|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/X-School-Academy/skill-pilot --skill terminal-forward-local-to-remote
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terminal-forward-local-to-remote
Source: https://github.com/X-School-Academy/skill-pilot/tree/main/core/skills/system/terminal-forward-local-to-remote
Command: npx skills add https://github.com/X-School-Academy/skill-pilot --skill terminal-forward-local-to-remote

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows you to make a service running on your local machine accessible from a remote server through an SSH tunnel, simplifying the process of exposing local development environments or services to external networks.

Core Features & Use Cases

  • Remote Port Forwarding: Establishes an SSH tunnel to forward a port from a remote server back to a local host and port.
  • Local Service Exposure: Ideal for making a local web server, API, or any network service available on a remote machine for testing or access.
  • Use Case: You are developing a web application locally on localhost:3000 and need to demonstrate it to a client who can only access it via an SSH connection to your staging server. This Skill can forward a port on the staging server to your local application.

Quick Start

Start an SSH remote port-forward from remote port 9000 to localhost on port 8080 using the 'prod' SSH profile.

Frequently Asked Questions about terminal-forward-local-to-remote

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

FAQPage Schema
How do I expose a local service to a remote server via SSH?

To expose a local service via SSH, you initiate a remote port-forwarding tunnel that maps a specified port on the remote host back to your local host and port, making the local network service accessible externally.

What is SSH remote port forwarding used for?

SSH remote port forwarding is used to establish a secure tunnel from a remote server to a local machine, exposing local web servers or APIs to external networks for testing and demonstrations.

Can I configure the binding interface for an SSH tunnel?

Yes, this SSH tunneling configuration supports specifying the remote binding interface, allowing you to control how the forwarded port is exposed on the remote host.

Do I need an SSH connection profile to set up remote port forwarding?

Yes, valid SSH connection profiles are required to establish secure tunneling, ensuring authenticated access when forwarding a remote port to your local host and port.

How do I forward a remote port to my local development environment?

You forward a remote port to your local development environment by establishing an SSH remote port-forwarding tunnel, directing traffic from the remote server port to your specified local host and port.

What is the best way to make a local web server accessible from a staging server?

The best way to make a local web server accessible from a staging server is using SSH remote port forwarding, which securely bridges a remote port directly to your local application.