ssh port forwarding

I have a debug server running on a private port for an app. I don’t see how to pass options to ssh such as to port-forward a private port in the app (like ssh -fNL 3000:localhost:9091 to access the metrics port).

You can use fly proxy 3000:9091 -a yourapp. If you have more than one instance, you can add -s to select the one you’re interested in.

1 Like