-

SSH Tunnel Command Generator


This tool will allow you to generate a SSH Tunnel command. You need to know if:

  1. You need local port forwarding or remote port forwarding.
    • Choose local port forwarding if you need to access a service (like a database) from your local machine but that service is behind a firewall or a closed network, blocking your connection.
    • Choose remote port forwarding if you want the remote server to access a service on your local machine. For instance, if you want your local web server to be accessable from a remote host.
  2. The service you're accessing is on the SSH server or on another machine that the SSH server can reach.
    • Use localhost if the service is hosted on the same server you are connecting to.
    • Specify the actual hostname or IP address if the service is on a different machine.

Copyright © 2025 - utilitystack.dev