GuidesProduction setup
Connect the CLI
Log in with the CLI through the SSH tunnel and approve the code in the dashboard.
ferry login. The CLI prints a code and opens a page of the dashboard.
1 / 4
Log in through the tunnel
ferry login --server http://127.0.0.1:7878The CLI 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
ferry infoThe command shows your server: its default limits and its Docker host.
Your terminal now has its own API token. You can revoke it under Server → Account. See Set up the CLI.
On the server, with no browser
Log in with the server token.
ferry login --token "$(sudo cat /var/lib/ferry/api_token)"