SSH Proxy

Generate SSH tunnel, SOCKS proxy and port-forwarding commands, ~/.ssh/config, management scripts and autostart configs — fully client-side.

Build SSH tunnel and proxy commands instead of typing them from memory

SSH Proxy is a command and configuration generator for SSH tunnels, SOCKS proxies and port forwarding. You fill in a few fields — SSH host, user, which ports go where — and the tool assembles the matching ssh invocation, an entry for ~/.ssh/config, a management script or an autostart configuration. The result lands in an editor pane you can copy or download as a file with one click.

One thing to understand up front: the tool only builds text — it does not open an SSH connection and runs nothing. You copy the finished commands and scripts into your own terminal and run them there yourself. That is exactly as it should be, because your credentials, keys and connections stay on your machine.

SSH Proxy is built for anyone who needs SSH port forwarding but doesn't keep the exact flag order in their head: developers who need to reach a database behind a firewall; admins who set up a persistent tunnel as a service; and anyone who wants to spin up a quick SOCKS proxy to browse through a remote server. The tool assembles the right -L/-R/-D/-J specifications, KeepAlive options and reconnect wrappers without slip-ups.

What SSH Proxy does — at a glance

The left-hand sidebar groups the generators into four areas:

  • Port Forwarding
    • Local Forward (ssh -L) — forward a local port to a remote service through the SSH server (e.g. a database behind a firewall).
    • Remote Forward (ssh -R) — expose a local service on the remote server (e.g. webhook testing).
    • Dynamic / SOCKS (ssh -D) — open a SOCKS5 proxy through which all traffic exits at the SSH server.
    • Jump Host (ssh -J) — hop through one or more bastion hosts to reach a target on the internal network.
  • Configuration
    • SSH Config — ready-made Host blocks for ~/.ssh/config.
    • Proxy Settings — proxy configuration for the shell, the OS and dozens of tools (git, npm, Docker, kubectl, AWS CLI …).
  • Scripts & Automation
    • Management Script — a start/stop/status/restart script (Bash or PowerShell) for your tunnels.
    • Autostart Setup — start tunnels at boot (systemd, launchd, Task Scheduler, rc.d or crontab).
  • Help
    • Troubleshooting — OS-specific diagnostic commands and solutions for common SSH problems.
    • Reference — lookup tables: forward types, flags, data-flow diagrams, key generation, multiplexing and tunnel alternatives.

Each generator shows an explanation table below the input that spells out every generated flag in plain language — so you understand what the command does instead of copying it blindly.

Platforms and reconnection

The generators know five target systems — Linux, macOS, Windows (OpenSSH), BSD and WSL. Where there are differences (such as diagnostic commands or autostart mechanisms), the tool produces the matching variant. The plain ssh invocation for a forward is the same across platforms — it uses standard OpenSSH syntax.

For persistent tunnels SSH Proxy also offers auto-reconnect: either via autossh (autossh -M 0) or via a dependency-free while loop. KeepAlive options (ServerAliveInterval/ServerAliveCountMax) are enabled by default.

Architecture: everything in the browser, no outbound connection

SSH Proxy runs 100% client-side in JavaScript. There is no server backend, no API and no SSH connection — the tool only generates text and renders it in an ACE editor. Nothing you enter — hostnames, usernames, key paths — leaves your browser. You never enter keys themselves anyway; the tool only references the path to an identity file.

Try it now

→ Open SSH Proxy — enter a host and ports, click Generate, copy the command and run it in your terminal. No account, free, right in the browser.

  • IP tool — inspect addresses, ranges and networks when you set bind addresses or reachable hosts for your tunnels.
  • DNS, SSL, Redirect & URL — check a server's DNS resolution and reachability before you build the tunnel.
  • Password & key generator — produce strong values, for instance for service passwords around your tunnels.

There's more on the sub-pages: the manual with every generator and option, real-world examples, and collected tips & tricks.