FerryDocs

Connect the CLI

Log in with the CLI through the SSH tunnel and approve the code in the dashboard.

Edit on GitHub

ferry login. The CLI prints a code and opens a page of the dashboard.

1 / 4

Log in through the tunnel

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

The prints a code and opens a page of the dashboard.

Approve the code

Make sure that the page shows the same code. Click Approve.

Test the connection

Terminal
ferry info

The command shows your server: its default limits and its Docker host.

Your terminal now has its own . You can revoke it under Server → Account. See Set up the CLI.

On the server, with no browser

Log in with the .

Terminal (on the server)
ferry login --token "$(sudo cat /var/lib/ferry/api_token)"

On this page