FerryDocs
ArchitectureSecurity model

ferry login

ferry login gets an API token for one terminal. You approve the request in the dashboard.

Edit on GitHub
Terminalcode MRDB-M7EEDashboardyou are signed inServer

ferry login asks the server for a login request. It prints a page and a code.

1 / 4

ferry login gets an for the terminal where you run it. The proof is your session in the dashboard.

What you see

Terminal
$ 

Compare the code before you approve

Approve a request only if the page shows the code of your terminal and your user@host. If not, deny the request.

The rules

  • A request expires after 10 minutes.
  • The token is in the list of Server → Account. You can revoke it like the other API tokens.
  • ferry login saves the server and the token in the .
FileMode
~/.config/ferry/config.json, or $XDG_CONFIG_HOME/ferry/config.json0600, in a 0700 directory

On this page