FerryDocs
ArchitectureSecurity model

Reach the API through SSH

Keep the API on localhost. An SSH tunnel brings its port to your machine.

Edit on GitHub
Your serverYour machine127.0.0.1:7878SSH tunnelencryptedAPI127.0.0.1:7878

The API listens only on 127.0.0.1 of the server. The internet cannot reach it.

1 / 3

This is the safer default for a production server. The API stays on , and the encrypts the traffic.

Do it

Open the tunnel

Run this command on your machine. Keep it open.

Terminal
ssh -L 7878:127.0.0.1:7878 you@your-server

Connect the CLI

Run this command in a second terminal.

Terminal
ferry login --server http://127.0.0.1:7878

The dashboard is at http://127.0.0.1:7878 in your browser.

The other way is the dashboard on a hostname, with HTTPS.

On this page